diff options
-rw-r--r-- | cloudinit/config/cc_disk_setup.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cloudinit/config/cc_disk_setup.py b/cloudinit/config/cc_disk_setup.py index a582924b..22af3813 100644 --- a/cloudinit/config/cc_disk_setup.py +++ b/cloudinit/config/cc_disk_setup.py @@ -107,7 +107,6 @@ import shlex frequency = PER_INSTANCE # Define the commands to use -UDEVADM_CMD = subp.which('udevadm') SFDISK_CMD = subp.which("sfdisk") SGDISK_CMD = subp.which("sgdisk") LSBLK_CMD = subp.which("lsblk") @@ -686,9 +685,8 @@ def get_partition_layout(table_type, size, layout): def read_parttbl(device): """ - Use `partprobe` or `blkdev` instead of `udevadm`. `Partprobe` is - preferred over `blkdev` since it is more reliably able to probe - the partition table. + `Partprobe` is preferred over `blkdev` since it is more reliably + able to probe the partition table. """ if PARTPROBE_CMD is not None: probe_cmd = [PARTPROBE_CMD, device] |