unable to use /dev/disk/by-path for cc_disk_setup
Bug #1969518 reported by
Brendan Germain
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Low
|
Unassigned |
Bug Description
fs_setup:
- device: /dev/disk/
or
fs_setup:
- device: /dev/disk/
yields:
cc_disk_
cc_disk_
the dots in these device paths do not indicate a partition and it seems there is no way to disable the partition auto detection.
you should be able to use any of the /dev/disk/ paths. by-id by-partuuid by-path by-uuid
description: | updated |
To post a comment you must log in.
this does work when using a cloud-init version recent enough to leverage device_aliases at this commit https:/ /github. com/canonical/ cloud-init/ commit/ 758acf976f2cb67 a85411467fa5fca 2ea17a2283 which i monkey patched, though i'm not sure using aliases should be a requirement to target these devices.