ExecResponse execResponse = ipScanRunScript.init().call();
checkState(execResponse.getExitStatus() == 0);
// retrieve ip from mac
RunScriptOnNode getIpFromMACAddressRunScript = scriptRunnerFactory.create(hostSupplier.get(),
new GetIPAddressFromMAC(networkAdapter.getMACAddress()), RunScriptOptions.NONE);
ExecResponse ipExecResponse = getIpFromMACAddressRunScript.init().call();
checkState(ipExecResponse.getExitStatus() == 0);
return checkNotNull(ipExecResponse.getOutput(), "ipAddress");
}