Fix to avoid session timeout
This commit is contained in:
parent
01f44d607f
commit
58bb759980
|
@ -1,4 +1,4 @@
|
|||
vn-vmware (1.0.27) stable; urgency=low
|
||||
vn-vmware (1.0.28) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -440,6 +440,9 @@ sub backup_machine() {
|
|||
destDatacenter => $dc
|
||||
#destSpec => $disk_spec
|
||||
);
|
||||
|
||||
# FIXME: Reconnecting because session timeout
|
||||
Util::connect();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -456,6 +459,9 @@ sub backup_machine() {
|
|||
unless ($tar_status == 0) {
|
||||
die "An error occurred when trying to compress '$vm_name' machine files.";
|
||||
}
|
||||
|
||||
# FIXME: Reconnecting because session timeout
|
||||
Util::connect();
|
||||
};
|
||||
my $err = $@;
|
||||
|
||||
|
|
Reference in New Issue