summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2017-09-07 09:59:47 -0400
committerScott Moser <smoser@brickies.net>2017-09-07 16:37:44 -0400
commit922c3c5c1a86f2d58e95a328e72b49a3bb234ca8 (patch)
treefc4c6377b9b60e33d3c0c7d7cadaedbd467eedd1 /ChangeLog
parent409918f9ba83e45e9bc5cc0b6c589e2fc8ae9b60 (diff)
downloadvyos-cloud-init-922c3c5c1a86f2d58e95a328e72b49a3bb234ca8.tar.gz
vyos-cloud-init-922c3c5c1a86f2d58e95a328e72b49a3bb234ca8.zip
Ec2: only attempt to operate at local mode on known platforms.
This change makes the DataSourceEc2Local do nothing unless it is on actual AWS platform. The motivation is twofold: a.) It is generally safer to only make this function available to Ec2 clones that explicitly identify themselves to the guest. (It also gives them a reason to supply identification code to cloud-init.) b.) On non-intel OpenStack platforms ds-identify would enable both the Ec2 and OpenStack sources. That is because there is not good data (such as dmi) to positively identify the platform. Previously that would be fine as OpenStack would run first and be successful. The change to add Ec2Local meant that an Ec2 now runs first. The best case for 'b' would be a slow down as attempts at the Ec2 metadata service time out. The discovered case was worse. Additionally we add a simple check for datatype of 'network' in the metadata before attempting to read it. LP: #1715128
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions