vmw_snapshot_create -m argument
This commit is contained in:
parent
6e9598996f
commit
04b5e9a532
@ -29,6 +29,11 @@ def get_args():
|
||||
action='store',
|
||||
help='snapshot name')
|
||||
|
||||
parser.add_argument('-m', '--memory',
|
||||
required=False,
|
||||
action='store_true',
|
||||
help='include vm memory')
|
||||
|
||||
args = parser.parse_args()
|
||||
return args
|
||||
|
||||
@ -89,7 +94,7 @@ def main():
|
||||
exit(1)
|
||||
|
||||
description = 'vmw_snapshot_create'
|
||||
dump_memory = True
|
||||
dump_memory = args.memory
|
||||
quiesce = False
|
||||
|
||||
wait_for_task(vm.CreateSnapshot(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user