summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Mocanu2017-12-15 12:41:57 +0100
committerVictor Mocanu2017-12-15 12:41:57 +0100
commit6333e7a98f167c4aad858396ba55beb7e17d93ed (patch)
tree58bb7a6861ba14a0682b93c90eefd633b605eaa7
parent[VBox] added a new placeholder (diff)
downloadmaster-sync-shared-6333e7a98f167c4aad858396ba55beb7e17d93ed.tar.gz
master-sync-shared-6333e7a98f167c4aad858396ba55beb7e17d93ed.tar.xz
master-sync-shared-6333e7a98f167c4aad858396ba55beb7e17d93ed.zip
[VBox] added MACAddress placeholder
-rw-r--r--src/main/java/org/openslx/util/vm/VboxConfig.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/org/openslx/util/vm/VboxConfig.java b/src/main/java/org/openslx/util/vm/VboxConfig.java
index fa7bf16..5b20650 100644
--- a/src/main/java/org/openslx/util/vm/VboxConfig.java
+++ b/src/main/java/org/openslx/util/vm/VboxConfig.java
@@ -228,7 +228,10 @@ public class VboxConfig
public void addPlaceHolders()
{
- // placeholder fot the machine uuid
+ // placeholder for the MAC address
+ changeAttribute( "Adapter", "MACAddress", "#OpenSLX_MAC_place_holder" );
+
+ // placeholder for the machine uuid
changeAttribute( "Machine", "uuid", "#OpenSLX_MUUID_place_holder" );
// placeholder for the location of the virtual hdd