Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 70da47d

Browse files
committed
_Actually_ add virt-install --host-device option.
1 parent 7420f0c commit 70da47d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

virt-install

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,9 @@ def parse_args():
362362
action="callback", callback=cli.check_before_store,
363363
help=_("The OS variant for fully virtualized guests, "
364364
"e.g. 'fedora6', 'rhel5', 'solaris10', 'win2k'"))
365+
geng.add_option("", "--host-device", type="string", dest="hostdevs",
366+
action="callback", callback=cli.check_before_append,
367+
help=_("Physical host device to attach to the domain."))
365368
parser.add_option_group(geng)
366369

367370
fulg = OptionGroup(parser, _("Full Virtualization specific options"))
@@ -406,8 +409,8 @@ def parse_args():
406409
default="",
407410
help=_("Additional arguments to pass to the kernel "
408411
"booted from --location"))
409-
410412
parser.add_option_group(insg)
413+
411414
stog = OptionGroup(parser, _("Storage Configuration"))
412415
stog.add_option("", "--disk", type="string", dest="diskopts",
413416
action="callback", callback=cli.check_before_append,

0 commit comments

Comments
 (0)