summaryrefslogtreecommitdiff
path: root/virt-image
Commit message (Collapse)AuthorAgeFilesLines
* Use proper python versionMartin Kletzander2014-02-121-2/+2
| | | | | | | | | | | | | since we work with python2 only, mentioning it in all shebangs make the commands from git work even when python3 is set as default. This also fixes one test where command being ran is 'virt-xml' through subprocess.Popen(). While at that, add '-tt' where possible in order to make everyone use same indentation characters. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
* virt-image: Print warning that it is planned for removalCole Robinson2014-02-101-1/+12
|
* guest: Add single entry point for adding default devicesCole Robinson2014-02-071-7/+1
|
* virtinst: drop parameter guest in convert_old_networksChen Hanxiao2014-02-061-1/+1
| | | | | | | | We do not use this paramter any more since commit: 46d3e0041ad938e386addd64f3633feebcccdecd. So drop it. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
* virt-*: Drop all --prompt handlingCole Robinson2014-02-041-2/+5
| | | | | | This stuff is not very helpful and a pain to maintain. Let's drop it once and for all. We still accept the CLI options and log a warning so people hopefully take the hint.
* cli: Add --memory, deprecates -r/--ramCole Robinson2014-01-251-6/+5
| | | | | This is a compound option like we use elsewhere, with suboptions for maxmemory and hugepages.
* Allow command line introspection ex: disk=?Cole Robinson2014-01-221-8/+12
| | | | This will list all sub options associated with that command.
* cli: Deprecate explicit --cpuset option, make it a --vcpus sub optionCole Robinson2014-01-221-3/+2
|
* cli: Centralize most option handling dispatchCole Robinson2014-01-221-7/+10
| | | | | Rather than require tools to do multiple parse_* calls. This infrastructure will help with virt-xml as well.
* cli: drop get_* helpers, just make parse_* helpers handle all casesCole Robinson2014-01-221-3/+3
|
* Stub out --check-cpu optionCole Robinson2014-01-221-2/+1
| | | | | It's old, uninteresting, and I don't think anyone is depending on it to work. Parse the command line option, but don't do anything differently.
* cli: Drop useless get_uuid helperCole Robinson2014-01-221-1/+3
|
* cli: Drop dest= from most arguments, it was redundantCole Robinson2014-01-221-7/+5
|
* Convert all command line handling to argparseCole Robinson2014-01-191-21/+15
| | | | | Allows us to drop some hacks, and we may need it for a new upcoming tool.
* Warn that --prompt mode will likely be removed in the future.Cole Robinson2013-09-281-1/+0
|
* cli: Combine registering a bunch of common optionsCole Robinson2013-09-281-21/+5
|
* cli: Remove unneeded parameter to optparse.add_optionCole Robinson2013-09-281-6/+6
|
* virt-install: Add --features optionCole Robinson2013-09-281-16/+3
| | | | | | And hide docs about old --noacpi/--noacpi options. I don't think anyone really uses them anyways, but if anyone complains we should just implement --features for the other CLI commands.
* cli: Add some consistency to deprecated option handlingCole Robinson2013-09-271-7/+9
| | | | | Take all the old options and convert them to new style, so the rest of the app only needs to deal with new style bits.
* cli: Make option handling more consistentCole Robinson2013-09-271-33/+17
|
* DomainFeatures: Drop __getitem__ helpersCole Robinson2013-09-271-2/+2
| | | | They just complicate matters
* virt-*: Unify handling of --os-variantCole Robinson2013-08-111-6/+1
| | | | And hide --os-type from the cli since it is long since redundant.
* guest: Drop consolecb and wait parameters from start_installCole Robinson2013-08-111-1/+1
|
* virtinst: Combine ImageInstaller and ImageParser codeCole Robinson2013-08-081-4/+3
| | | | They aren't touched much these days, so unify the files for clarity.
* Installer: Drop all XML handling, just have it setup install infoCole Robinson2013-07-231-7/+4
|
* virtinst: Drop __init__ params from Guest and InstallerCole Robinson2013-07-231-2/+2
|
* Guest: Make API users opt in for default console/input devicesCole Robinson2013-07-231-0/+4
| | | | We don't need to maintain API back compat anymore
* VirtualConnection: cache capabilities XMLCole Robinson2013-07-061-2/+1
| | | | This means we can drop passing around the pre-parsed caps info everywhere.
* Make conn required for all virtinst objectsCole Robinson2013-07-051-4/+2
| | | | This was the way the API had been heading, this just formalizes it.
* Add epilog and description for virt-* --helpCole Robinson2013-06-301-2/+3
|
* Revive pep8 and clean up the codeCole Robinson2013-04-131-3/+5
| | | | autopep8 is pretty cool :)
* Wire up python unit tests, unify gettext setupCole Robinson2013-04-031-1/+0
|
* Merge code from python-virtinst.gitCole Robinson2013-04-031-0/+216
As outlined here: https://www.redhat.com/archives/virt-tools-list/2012-February/msg00040.html For now this is just a direct import of the code from virtinst commit dca5a4d6245f21d554f8853197a6a234bfc8e52c. History is not merged, so please refer to original git for detailed commit histor: http://git.fedorahosted.org/cgit/python-virtinst.git/