Skip to content
Snippets Groups Projects
Commit 5d60cca4 authored by bta's avatar bta
Browse files

vm-setup: add the config variable SKIP_SHARED_FOLDERS.

You can use it to skip the shared folders setup.
parent 041dcb83
No related branches found
No related tags found
No related merge requests found
......@@ -278,8 +278,10 @@ if [[ ${CREATE_VM} == 1 ]]; then
fi
# shared folders
VBoxManage sharedfolder add "${VM_NAME}" --name "${SF_LINUX_NAME}" --hostpath "${SF_LINUX_TARGET}" --automount
VBoxManage sharedfolder add "${VM_NAME}" --name "${SF_MEDIA_NAME}" --hostpath "${SF_MEDIA_TARGET}" --automount
if [[ -z "${SKIP_SHARED_FOLDERS}" ]]; then
VBoxManage sharedfolder add "${VM_NAME}" --name "${SF_LINUX_NAME}" --hostpath "${SF_LINUX_TARGET}" --automount
VBoxManage sharedfolder add "${VM_NAME}" --name "${SF_MEDIA_NAME}" --hostpath "${SF_MEDIA_TARGET}" --automount
fi
# TWEAK enableIn and enabledOut audio attributes (5.2.x bug, enableOut does not get properly set)
# we need to wait some time for the configuration to be written on disk before tweaking it
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment