mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
CLOUDSTACK-5592
ssh should run on eth1 interface in ssvm/cpvm running in HyperV.
This commit is contained in:
parent
dde7a5f43e
commit
ab304d2821
@ -1440,6 +1440,11 @@ public class ConsoleProxyManagerImpl extends ManagerBase implements ConsoleProxy
|
||||
controlNic = managementNic;
|
||||
}
|
||||
|
||||
// verify ssh access on management nic for system vm running on HyperV
|
||||
if(profile.getHypervisorType() == HypervisorType.Hyperv) {
|
||||
controlNic = managementNic;
|
||||
}
|
||||
|
||||
CheckSshCommand check = new CheckSshCommand(profile.getInstanceName(), controlNic.getIp4Address(), 3922);
|
||||
cmds.addCommand("checkSsh", check);
|
||||
|
||||
|
||||
@ -1141,6 +1141,11 @@ public class SecondaryStorageManagerImpl extends ManagerBase implements Secondar
|
||||
controlNic = managementNic;
|
||||
}
|
||||
|
||||
// verify ssh access on management nic for system vm running on HyperV
|
||||
if(profile.getHypervisorType() == HypervisorType.Hyperv) {
|
||||
controlNic = managementNic;
|
||||
}
|
||||
|
||||
CheckSshCommand check = new CheckSshCommand(profile.getInstanceName(), controlNic.getIp4Address(), 3922);
|
||||
cmds.addCommand("checkSsh", check);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user