Red Hat Bugzilla – Bug 467859
virt-install --prompt ...doesn't prompt
Last modified: 2009-10-05 10:24:16 EDT
Description of problem:
The --prompt flag to virt-install is ignored.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. virt-install --prompt
[root@ada ~]# virt-install --prompt
ERROR A name is required for the virtual machine.
virt-install prompts when given the --prompt option
Giving a name just makes it move down the list. The --prompt flag is still completely ignored:
[root@ada ~]# virt-install --prompt -n foo
ERROR Memory amount is required for the virtual machine.
Yeah, that's kind of funny :) Originally we ripped out all the major prompts (What name, how much mem, etc.) and only left critical boolean prompts (If fully allocated this sparse disk will eat your brain, are you sure?). At a later time the --prompt flag was added to prevent any prompting from being the default.
I agree we should use the original prompts if --prompt is specified, this was largely poor planning on my part. Won't be done for F10 though.
Understood. It's not a huge problem, but it's annoying. If we're going to release F10 in this state, we should fix the man page and the virt-install -h output.
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
Revived upstream, though it is opt in behavior with the --prompt flag. Error messages try to steer users in that direction if they leave of something simple like --name.
Since this would be a pretty substantial backport, it won't be hitting F-10 or F-11 unless we rebase (which isn't likely). So closing as RAWHIDE where this is currently fixed (F-12 will have it as well).