diff options
author | Michael Janczyk | 2010-03-21 19:50:12 +0100 |
---|---|---|
committer | Michael Janczyk | 2010-03-21 19:50:12 +0100 |
commit | 994aa36c095470f1c163e32b28fa324f7376f127 (patch) | |
tree | a1d0da469c9b0dbb390d56943a8c014a35aa7d00 /os-plugins/plugins/virtualbox | |
parent | added rw share support for vmgrid and virtualbox (diff) | |
download | core-994aa36c095470f1c163e32b28fa324f7376f127.tar.gz core-994aa36c095470f1c163e32b28fa324f7376f127.tar.xz core-994aa36c095470f1c163e32b28fa324f7376f127.zip |
qemukvm angepasst... geht noch nicht :(
Diffstat (limited to 'os-plugins/plugins/virtualbox')
-rw-r--r-- | os-plugins/plugins/virtualbox/XX_virtualbox.sh | 2 | ||||
-rw-r--r-- | os-plugins/plugins/virtualbox/files/machine.include | 2 | ||||
-rw-r--r-- | os-plugins/plugins/virtualbox/files/run-virt.include | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/os-plugins/plugins/virtualbox/XX_virtualbox.sh b/os-plugins/plugins/virtualbox/XX_virtualbox.sh index 1ca15fd9..4fa0b7bb 100644 --- a/os-plugins/plugins/virtualbox/XX_virtualbox.sh +++ b/os-plugins/plugins/virtualbox/XX_virtualbox.sh @@ -28,7 +28,7 @@ if [ -e ${CONFFILE} ]; then # Test if this plugin is activated... more or less useless with the # new plugin system - if [ $virtualbox_active -ne 0 ]; then + if [ $virtualbox_active -ne 0 2>/dev/null ]; then [ $DEBUGLEVEL -gt 0 ] && echo "executing the 'virtualbox' os-plugin ..."; # load general configuration diff --git a/os-plugins/plugins/virtualbox/files/machine.include b/os-plugins/plugins/virtualbox/files/machine.include index bc1817de..6496b616 100644 --- a/os-plugins/plugins/virtualbox/files/machine.include +++ b/os-plugins/plugins/virtualbox/files/machine.include @@ -61,7 +61,7 @@ cat <<EOF </LPT> <AudioAdapter controller="AC97" driver="Alsa" enabled="true"/> <!-- OSS, Alsa, Pulse (HANGS!) --> <SharedFolders> - <SharedFolder name="Home" hostPath="/home/${USER}" writable="true"/> + <SharedFolder name="home" hostPath="/home/${USER}" writable="true"/> </SharedFolders> <Clipboard mode="Bidirectional"/> <Guest memoryBalloonSize="0" statisticsUpdateInterval="0"/> diff --git a/os-plugins/plugins/virtualbox/files/run-virt.include b/os-plugins/plugins/virtualbox/files/run-virt.include index a24845a3..62ef769d 100644 --- a/os-plugins/plugins/virtualbox/files/run-virt.include +++ b/os-plugins/plugins/virtualbox/files/run-virt.include @@ -203,7 +203,7 @@ writelog "\tNetwork kind:\t\t${network_kind}" #writelog "\tCD-ROM1:\t${cdrom0}" #writelog "\tCD-ROM2:\t${cdrom1}" #writelog "\tFloppy_A:\t${floppy0}" -writelog "\tShared Folders 'Home':\t/home/${USER}" +writelog "\tShared Folders 'home':\t/home/${USER}" ################################################################################ ### Pepare and configure virtual machine and disk image @@ -219,11 +219,11 @@ writelog "\tShared Folders 'Home':\t/home/${USER}" # add rw share to vm, if existing if [ -n "${rwshare}" ]; then - sharedf='<SharedFolder name="Share"' + sharedf='<SharedFolder name="share"' sharedf="${sharedf} hostPath=\"${rwshare}\" writable=\"true\"/>" sed -i "s,</SharedFolders>, ${sharedf}\n </SharedFolders>," \ "${machconfig}" - writelog "\tShared Folders 'Share':\t${rwshare}" + writelog "\tShared Folders 'share':\t${rwshare}" fi # add ssh port if linux and NAT |