summaryrefslogtreecommitdiff
path: root/cloudinit/cmd
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2018-04-30 13:21:51 -0600
committerChad Smith <chad.smith@canonical.com>2018-04-30 13:21:51 -0600
commit11172924a48a47a7231d19d9cefe628dfddda8bf (patch)
tree1ac6832ec576d3f6eb1ea43f4f619f879c05c062 /cloudinit/cmd
parent4bd5870f62df771f2a346b0003fd03e44d7fac19 (diff)
downloadvyos-cloud-init-11172924a48a47a7231d19d9cefe628dfddda8bf.tar.gz
vyos-cloud-init-11172924a48a47a7231d19d9cefe628dfddda8bf.zip
IBMCloud: Disable config-drive and nocloud only if IBMCloud is enabled.
Ubuntu images on IBMCloud for 16.04 have some seed data in /var/lib/cloud/data/seed/nocloud-net. In order to have systems with IBMCloud enabled, we modified ds-identify detection to skip that seed if the system was on IBMCloud. That change did not consider the fact that IBMCloud might not be in the datasource list. There was similar logic in the ConfigDrive datasource in ds-identify and the datasource itself. Config drive is now updated to only check and avoid IBMCloud if IBMCloud is enabled. The check in ds-identify for nocloud was dropped. If a user provides a nocloud seed on IBMCloud, then that can be used. This means that systems running Xenial will continue to get their old datasources. LP: #1766401
Diffstat (limited to 'cloudinit/cmd')
0 files changed, 0 insertions, 0 deletions