From d6a0479885a7f3ae4ebb49e918b5f016ae93e331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantino=20V=C3=A1zquez=20Blanco?= Date: Tue, 14 Apr 2009 13:42:06 +0000 Subject: [PATCH] Getting rid of hardcoded info. Fixed TODO. git-svn-id: http://svn.opennebula.org/one/trunk@466 3034c82b-c49b-4eb3-8279-a7acafdc01c0 --- src/tm_mad/vmware/TMClone.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 +}