IPv6: Disable password and userdata service for ipv6 for now

Would add support later.
This commit is contained in:
Sheng Yang 2013-01-25 15:41:58 -08:00
parent 8f66d266b3
commit 74811fa8b4

View File

@ -821,6 +821,11 @@ public class VirtualRouterElement extends AdapterBase implements VirtualRouterEl
if (vm.getType() != VirtualMachine.Type.User) {
return false;
}
if (network.getIp6Gateway() != null) {
s_logger.info("Skip password and userdata service setup for IPv6 VM");
return true;
}
@SuppressWarnings("unchecked")
VirtualMachineProfile<UserVm> uservm = (VirtualMachineProfile<UserVm>) vm;