summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include
diff options
context:
space:
mode:
authorSimon Rettberg2016-10-19 12:07:04 +0200
committerSimon Rettberg2016-10-19 12:07:04 +0200
commit9346d24e07d9e988e08cc1447d1f4b150925a6f7 (patch)
tree603642f8b28e0621685d58e63e35236e798e0633 /remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include
parent[rfs-stage31] Show more information if boot interface could not be determined (diff)
downloadtm-scripts-9346d24e07d9e988e08cc1447d1f4b150925a6f7.tar.gz
tm-scripts-9346d24e07d9e988e08cc1447d1f4b150925a6f7.tar.xz
tm-scripts-9346d24e07d9e988e08cc1447d1f4b150925a6f7.zip
[vmware/run-virt] Try to rename includes to what they actually do
Diffstat (limited to 'remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include')
-rw-r--r--remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include22
1 files changed, 12 insertions, 10 deletions
diff --git a/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include b/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include
index 4d263272..08188b58 100644
--- a/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include
+++ b/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include
@@ -42,24 +42,26 @@ if [ "$LEGACY" ]; then
# set_vmware_startup_file
source "${VMWAREINCLUDEDIR}/write_config_files_legacy.inc" && write_config_files_legacy
else
- # write configuration files
- source "${VMWAREINCLUDEDIR}/write_config_files.inc"
+ # get information from downloaded vmx
+ source "${VMWAREINCLUDEDIR}/parse_vmx.inc"
+
+ # determine limitations wrt RAM and CPU count of VM
+ source "${VMWAREINCLUDEDIR}/determine_hardware_limitations.inc"
+
+ # create file and directory structure for vmware setup
+ source "${VMWAREINCLUDEDIR}/create_static_directory_structure.inc"
+
+ # create preferences file ${vmhome}/preferences
+ source "${VMWAREINCLUDEDIR}/create_vmhome_preferences_file.inc" && create_vmhome_preferences_file
# parse the given vmx file
- source "${VMWAREINCLUDEDIR}/parse_vmx.inc"
+ source "${VMWAREINCLUDEDIR}/write_final_vmx.inc"
fi
# logging and stdout
# needs writelog() from vmchooser-run_virt
source "${VMWAREINCLUDEDIR}/logging.inc" && logging
-# See if there are any USB devices connected that we want to pass through immediately
-get_usb_devices 'usb.autoConnect.deviceXXXXX = "0x%VENDOR%:0x%PRODUCT%"' \
- | sed -r 's/0x0+/0x/g' \
- | awk '{sub(/XXXXX/,NR-1)}1' \
- >> "$conffile"
-
-
# For debugging
cp "$conffile" "/tmp/vmware-last-config"