[pve-devel] [PATCH container] move test for working ssh conection to AbstractMigrate
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Oct 27 17:00:14 CEST 2016
this needs to be done by both, container and qemu and I reuse it
in AbstractMigrate in a later patch.
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
src/PVE/LXC/Migrate.pm | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/PVE/LXC/Migrate.pm b/src/PVE/LXC/Migrate.pm
index 1c168bb..8dbed41 100644
--- a/src/PVE/LXC/Migrate.pm
+++ b/src/PVE/LXC/Migrate.pm
@@ -78,11 +78,6 @@ sub prepare {
# todo: test if VM uses local resources
- # test ssh connection
- my $cmd = [ @{$self->{rem_ssh}}, '/bin/true' ];
- eval { $self->cmd_quiet($cmd); };
- die "Can't connect to destination address using public key\n" if $@;
-
return $running;
}
--
2.1.4
More information about the pve-devel
mailing list