summaryrefslogtreecommitdiff
path: root/cloudinit/settings.py
diff options
context:
space:
mode:
authorBen Howard <ben.howard@canonical.com>2014-03-18 15:57:30 -0600
committerBen Howard <ben.howard@canonical.com>2014-03-18 15:57:30 -0600
commite91fd55890922d9054523afab4d7e4b268c1be64 (patch)
tree1d3d1ab71180314f590d2d76a82102e5d7e323a2 /cloudinit/settings.py
parentd9661a8ef4c6003ef48757715965ebb5c071c80b (diff)
downloadvyos-cloud-init-e91fd55890922d9054523afab4d7e4b268c1be64.tar.gz
vyos-cloud-init-e91fd55890922d9054523afab4d7e4b268c1be64.zip
Windows Azure defines the ephemeral0 mount as being a per-boot instead of
per instance. Under a variety of circumstances, the ephemeral device may be presented as a default device. This patch detects when that situation happens and triggers CC modules disk-setup and mounts to run again. Details of changes for cloudinit/sources/DataSourceAzure.py: - auto-detect the location of ephemeral0 - check each boot if ephemeral0 is new - done via NTFS w/ label of "Temporary Storage" w/ no files on it - if device is mounted, datasource will unmount it - if is new, change mounts and disk-setup to always for that boot only
Diffstat (limited to 'cloudinit/settings.py')
0 files changed, 0 insertions, 0 deletions