forked from uncloud/uncloud
add image format option
This commit is contained in:
parent
0e667b5262
commit
aaf0114df1
2 changed files with 7 additions and 1 deletions
|
|
@ -30,6 +30,7 @@ arg_parser.add_argument('--list-vms', action='store_true')
|
|||
arg_parser.add_argument('--memory', help="Size of memory (GB)", type=int)
|
||||
arg_parser.add_argument('--cores', help="Amount of CPU cores", type=int)
|
||||
arg_parser.add_argument('--image', help="Path (under hackprefix) to OS image")
|
||||
arg_parser.add_argument('--image-format', help="Image format: qcow2 or raw", choices=['raw', 'qcow2'])
|
||||
arg_parser.add_argument('--uuid', help="VM UUID")
|
||||
|
||||
arg_parser.add_argument('--no-db', help="Disable connection to etcd. For local testing only!", action='store_true')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue