diff --git a/src/tm_mad/vmware/TMClone.java b/src/tm_mad/vmware/TMClone.java index 35b8826b50..5256dcf60e 100644 --- a/src/tm_mad/vmware/TMClone.java +++ b/src/tm_mad/vmware/TMClone.java @@ -41,9 +41,7 @@ import javax.xml.parsers.DocumentBuilder; public class TMClone { - // TODO set oneID from remotepath private String oneID = ""; - //private ArrayList diskNames = new ArrayList(); // Helpers from VI samples private static ServiceContent content; @@ -233,7 +231,7 @@ public class TMClone ManagedObjectReference hostMor = cb.getServiceUtil().getDecendentMoRef(null, "HostSystem", - "ursa09.localdomain"); + hostName); // TODO make this dymamic. datacenter = "ha-datacenter"; @@ -321,4 +319,4 @@ public class TMClone return; } } -} \ No newline at end of file +}