@Override
protected Void body() throws Exception {
if (node.getMoId() == null) {
return null;
}
VcVirtualMachine vcVm = VcCache.getIgnoreMissing(String.valueOf(node.getMoId()));
if (vcVm == null) {
return null;
}
Map<String, String> bootupConfigs = vcVm.getGuestConfigs();
AuAssert.check(bootupConfigs != null);
/* serengeti operation flag - a random generated uuid
* a script inside the vm compares this uuid with its stored value, if they are
* different, this VM decides it's started by Serengeti, otherwise, it's started
* by third parties.
*/
VcVmUtil.addBootupUUID(bootupConfigs);
vcVm.setGuestConfigs(bootupConfigs);
return null;
}
protected boolean isTaskSession() {