Test operation
This commit is contained in:
parent
8981d52105
commit
c7373e2146
|
@ -1,4 +1,4 @@
|
|||
vn-vmware (1.0.24) stable; urgency=low
|
||||
vn-vmware (1.0.25) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ use constant true => 1;
|
|||
my %opts = (
|
||||
'operation' => {
|
||||
type => "=s",
|
||||
help => "Operation to perform: backup-job, clone-job, backup, rotate, clone, snapshot, migrate",
|
||||
help => "Operation to perform: backup-job, clone-job, backup, rotate, clone, snapshot, migrate, test",
|
||||
required => true
|
||||
},
|
||||
'job' => {
|
||||
|
@ -276,6 +276,9 @@ sub main {
|
|||
open_machine();
|
||||
migrate_machine();
|
||||
}
|
||||
when ('test') {
|
||||
log_message "Test operation, doing nothing.";
|
||||
}
|
||||
default {
|
||||
die "Unknown operation '$operation'.";
|
||||
}
|
||||
|
|
Reference in New Issue