diff options
author | Cole Robinson <crobinso@redhat.com> | 2019-06-11 15:18:47 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2019-06-11 17:55:09 -0400 |
commit | de90716eb4debbe5492728d67410e2b3dd45eec8 (patch) | |
tree | 0746b730ab2808fab1d0081a3031f1b1f0c834ce /virt-install | |
parent | ecb60c30620c596df15a2f929b7ba683becc333c (diff) | |
download | virt-manager-de90716eb4debbe5492728d67410e2b3dd45eec8.tar.gz |
unattended: Choose a default profile name if none specified
We default to 'desktop' if none specified, otherwise we choose the
first alphabetical profile available. Make bare '--unattended' a
valid option
Diffstat (limited to 'virt-install')
-rwxr-xr-x | virt-install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt-install b/virt-install index 0e2d5c9d..aeb12f88 100755 --- a/virt-install +++ b/virt-install @@ -844,7 +844,7 @@ def parse_args(): "booted from --location")) insg.add_argument("--initrd-inject", action="append", help=_("Add given file to root of initrd from --location")) - insg.add_argument("--unattended", + insg.add_argument("--unattended", nargs="?", const=1, help=_("Perform a unattended installation")) # Takes a URL and just prints to stdout the detected distro name |