summaryrefslogtreecommitdiffstats
path: root/core/modules/vmware12
diff options
context:
space:
mode:
authorSimon Rettberg2017-11-24 16:24:48 +0100
committerSimon Rettberg2017-11-24 16:24:48 +0100
commit5fb2296b838f161dfca3b44022c037870ee3ef3b (patch)
tree98a400e577026f055e40c7463a8924110ff76f74 /core/modules/vmware12
parent[sssd] Add all local users to filter list (diff)
downloadmltk-5fb2296b838f161dfca3b44022c037870ee3ef3b.tar.gz
mltk-5fb2296b838f161dfca3b44022c037870ee3ef3b.tar.xz
mltk-5fb2296b838f161dfca3b44022c037870ee3ef3b.zip
[vmware*] Specify input file to grep ....
Diffstat (limited to 'core/modules/vmware12')
-rw-r--r--core/modules/vmware12/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/vmware12/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc b/core/modules/vmware12/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc
index 8bc6cb3d..a7d3d837 100644
--- a/core/modules/vmware12/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc
+++ b/core/modules/vmware12/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc
@@ -26,7 +26,7 @@ setup_ethernet() {
local devtype mac cnt eth
# Copy type of eth0, in case the others don't specify a type in the vmx, we'll use the same
# so we know the drivers are there
- devtype=$(grep -m1 -i '^ethernet0\.virtualDev' | sed -r 's/^[^=]+//;s/^(\s|=|")*//;s/(\s|")+$//') # TODO: Make a helper like "getVmxOption"
+ devtype=$(< "${TMPCONFIG}" grep -m1 -i '^ethernet0\.virtualDev' | sed -r 's/^[^=]+//;s/^(\s|=|")*//;s/(\s|")+$//') # TODO: Make a helper like "getVmxOption"
cnt=0
for mac in $OTHER_NICS; do
vmnet=$(( cnt + 10 ))