diff options
author | Chad Smith <chad.smith@canonical.com> | 2018-11-08 04:35:56 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2018-11-08 04:35:56 +0000 |
commit | 3b332c93f765c9208f7e059d8a0c2463f7ffe12a (patch) | |
tree | ccff1df40c421cd67ed33a28b762c4754dde338e /cloudinit/signal_handler.py | |
parent | 093f968013f418d591d9e778a57b2f050ac30db3 (diff) | |
download | vyos-cloud-init-3b332c93f765c9208f7e059d8a0c2463f7ffe12a.tar.gz vyos-cloud-init-3b332c93f765c9208f7e059d8a0c2463f7ffe12a.zip |
azure: add udev rules to create cloud-init Gen2 disk name symlinks
Cloud-init delivers udev rules on Azure to create the following symlinks:
- /dev/disk/cloud/azure_root
- /dev/disk/cloud/azure_root-part#
- /dev/disk/cloud/azure_resource
- /dev/disk/cloud/azure_resource-part#
Cloud-init cc_disk_setup expects presence of these dev links in order to
setup the mounted ephemeral disks. Gen1 instances udev rules match based
only a DEVICE_ID attribute that no longer exists on Gen2 instances.
Supplement existing Gen1 rules with matches on specitic SCSI target/lun
path 0:0:0 and 0:0:1 and generate links for azure_root and azure_resource
respectively.
LP: #1797480
Diffstat (limited to 'cloudinit/signal_handler.py')
0 files changed, 0 insertions, 0 deletions