summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmware
diff options
context:
space:
mode:
authorSimon Rettberg2016-06-16 11:43:10 +0200
committerSimon Rettberg2016-06-16 11:43:34 +0200
commit2ff32f1cfc9ab927f3770b06757b8b45c0d6a214 (patch)
treec4e4a3f9627e5b13de0561c0977596e7f4881d23 /remote/modules/vmware
parent[xorg] Include xset (diff)
downloadtm-scripts-2ff32f1cfc9ab927f3770b06757b8b45c0d6a214.tar.gz
tm-scripts-2ff32f1cfc9ab927f3770b06757b8b45c0d6a214.tar.xz
tm-scripts-2ff32f1cfc9ab927f3770b06757b8b45c0d6a214.zip
[run-virt] Clean up macaddr gen, move to run-virt-env, assign predictable MACs
Also make sure the primary VM instance always gets the same MAC and thus IP
Diffstat (limited to 'remote/modules/vmware')
-rw-r--r--remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/logging.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/logging.inc b/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/logging.inc
index 160fbc17..f7ee634a 100644
--- a/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/logging.inc
+++ b/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/logging.inc
@@ -19,7 +19,7 @@ logging() {
writelog "\t/tmp info: $(grep "/tmp " /proc/mounts) $(df -h | grep " /tmp$" | awk '{print $2}')"
# hw setup
writelog "Hardware:"
- writelog "\tMAC:\t\t00:50:56:$macaddrsuffix" # TODO: Make var at top for this, it's hard coded twice
+ writelog "\tMAC:\t\t$macaddr"
if [ -n "${network_card}" ]; then
writelog "\tNet Adaptor:\t${network_card}"
fi