diff options
-rw-r--r-- | man/virt-install.pod | 4 | ||||
-rw-r--r-- | virtinst/cli.py | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/man/virt-install.pod b/man/virt-install.pod index 4b54a84f..4a6852c1 100644 --- a/man/virt-install.pod +++ b/man/virt-install.pod @@ -648,9 +648,9 @@ Disk device type. Value can be 'cdrom', 'disk', 'lun' or 'floppy'. Default is 'disk'. If a 'cdrom' is specified, and no install method is chosen, the cdrom is used as the install media. -=item B<boot_order> +=item B<boot.order> -Guest installation with multiple disks will need this parameter to boot correctly after being installed. A boot_order parameter will take values 1,2,3,... Devices with lower value has higher priority. +Guest installation with multiple disks will need this parameter to boot correctly after being installed. A boot.order parameter will take values 1,2,3,... Devices with lower value has higher priority. =item B<bus> diff --git a/virtinst/cli.py b/virtinst/cli.py index e043a100..eeaede6c 100644 --- a/virtinst/cli.py +++ b/virtinst/cli.py @@ -2242,11 +2242,12 @@ def _add_device_address_args(cls): def _add_device_boot_order_arg(cls): + cls.aliases["boot.order"] = "boot_order" def set_boot_order_cb(self, inst, val, virtarg): val = int(val) self.guest.reorder_boot_order(inst, val) cls.set_boot_order_cb = set_boot_order_cb - cls.add_arg("boot_order", "boot.order", cb=cls.set_boot_order_cb) + cls.add_arg("boot.order", "boot.order", cb=cls.set_boot_order_cb) ################## |