445446447448449450451452453454455
} if(isNewDhcpHost){ DhcpHost host = sub.addDhcpHost(); host.ipAddr(nic.getIp4Address()); host.macAddr(nic.getMacAddress()); // This only sets the cloudstack internal name host.name(vm.getHostName()); host.create(); }
437438439440441442443444445446447
} if (isNewDhcpHost) { DhcpHost host = sub.addDhcpHost(); host.ipAddr(nic.getIp4Address()); host.macAddr(nic.getMacAddress()); // This only sets the cloudstack internal name host.name(vm.getHostName()); host.create(); }
448449450451452453454455456457458