diff options
author | Victor Mocanu | 2017-12-15 16:25:35 +0100 |
---|---|---|
committer | Victor Mocanu | 2017-12-15 16:25:35 +0100 |
commit | aa9e3a1882ac4fefda196307b7bbbad7c5904297 (patch) | |
tree | 56f54c7162e574c67332fe1a64a0a7384449705a /src/main/java/org/openslx/util/vm/VboxConfig.java | |
parent | [VBox] added MACAddress placeholder (diff) | |
download | master-sync-shared-aa9e3a1882ac4fefda196307b7bbbad7c5904297.tar.gz master-sync-shared-aa9e3a1882ac4fefda196307b7bbbad7c5904297.tar.xz master-sync-shared-aa9e3a1882ac4fefda196307b7bbbad7c5904297.zip |
[VBox] implemented the addfloppy method
Diffstat (limited to 'src/main/java/org/openslx/util/vm/VboxConfig.java')
-rw-r--r-- | src/main/java/org/openslx/util/vm/VboxConfig.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/org/openslx/util/vm/VboxConfig.java b/src/main/java/org/openslx/util/vm/VboxConfig.java index 5b20650..dbe9f61 100644 --- a/src/main/java/org/openslx/util/vm/VboxConfig.java +++ b/src/main/java/org/openslx/util/vm/VboxConfig.java @@ -227,10 +227,7 @@ public class VboxConfig } public void addPlaceHolders() - { - // placeholder for the MAC address - changeAttribute( "Adapter", "MACAddress", "#OpenSLX_MAC_place_holder" ); - + { // placeholder for the machine uuid changeAttribute( "Machine", "uuid", "#OpenSLX_MUUID_place_holder" ); @@ -477,6 +474,7 @@ public class VboxConfig removeNode( child.getChildNodes().item( 1 ) ); } } + child.removeAttribute( "MACAddress" ); LOGGER.warn( "possible problem while removing formating node" ); continue; } |