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 455d65808a
commit d30d23ee08
1 changed files with 5 additions and 0 deletions

View File

@ -815,6 +815,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;