From ffbf58a3401a314cd38ef99d0d16602046fb6810 Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Fri, 4 Jun 2010 15:03:10 +0200 Subject: nice level, more host infos in virtualization.conf, copy to share dir in vmgrid --- os-plugins/plugins/vmchooser/files/run-virt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os-plugins/plugins/vmchooser/files/run-virt.sh') diff --git a/os-plugins/plugins/vmchooser/files/run-virt.sh b/os-plugins/plugins/vmchooser/files/run-virt.sh index 771ebef4..df2a7404 100644 --- a/os-plugins/plugins/vmchooser/files/run-virt.sh +++ b/os-plugins/plugins/vmchooser/files/run-virt.sh @@ -132,7 +132,7 @@ mem=$(expr ${totalmem} / 100 \* ${permem} / 4 \* 4) # last two bytes are taken from the bridge of the host # define one MAC per guest macguestpart="00:50:56:${VM_ID}" -machostpart=$(echo ${machostaddr} | awk -F ":" '{print $(NF-1)":"$NF}') +machostpart=$(echo ${hostmacaddr} | awk -F ":" '{print $(NF-1)":"$NF}') macaddr=$(echo "${macguestpart}:${machostpart}" | tr [a-z] [A-Z]) #TODO: remove when vmware modified mac=${machostpart} -- cgit v1.2.3-55-g7522