diff options
author | Michael Janczyk | 2010-05-17 22:24:43 +0200 |
---|---|---|
committer | Michael Janczyk | 2010-05-17 22:24:43 +0200 |
commit | 716fb67d6e4b105b77d6ea0a51aedd986415de48 (patch) | |
tree | a6dd6e51556f5cbc5a4f16e3d311162598b916a9 /os-plugins/plugins/virtualbox/files/run-virt.include | |
parent | Merge branch 'master' into vmgrid (diff) | |
download | core-716fb67d6e4b105b77d6ea0a51aedd986415de48.tar.gz core-716fb67d6e4b105b77d6ea0a51aedd986415de48.tar.xz core-716fb67d6e4b105b77d6ea0a51aedd986415de48.zip |
changer router addres to x.x.x.1 since vmware seems to need that.
virtualbox changes, /wo vt flags only one vcpu possible
Diffstat (limited to 'os-plugins/plugins/virtualbox/files/run-virt.include')
-rw-r--r-- | os-plugins/plugins/virtualbox/files/run-virt.include | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/os-plugins/plugins/virtualbox/files/run-virt.include b/os-plugins/plugins/virtualbox/files/run-virt.include index 4a1e2c14..a4ebe222 100644 --- a/os-plugins/plugins/virtualbox/files/run-virt.include +++ b/os-plugins/plugins/virtualbox/files/run-virt.include @@ -94,10 +94,6 @@ case "${vmostype}" in writelog "This is not supported, exiting!" cleanexit 1 fi - # check if host is only 32 bit, then use only 1 cpu (only 1 supported) - if echo "${host_arch}" | grep -qE "i.86"; then - cpu_cores=1 - fi else vmostype="Linux26" fi @@ -244,6 +240,10 @@ case ${boot} in writelog "Network boot won't work, exiting!" cleanexit 1 fi + # check if host is only 32 bit, then use only 1 cpu (only 1 supported) + if echo "${host_arch}" | grep -qE "i.86"; then + cpu_cores=1 + fi for i in $(ls ${virtualbox_tftpdir}); do ln -sf ${virtualbox_tftpdir}/${i} ${confdir}/TFTP/${i} done @@ -255,6 +255,14 @@ case ${boot} in ;; esac +# nested paging +npaging="false" +# enable VT +enablevt="false" +# check for VT, if not available use only 1 cpu (only 1 supported) +[ ${vtflag} -eq 0 ] && cpu_cores=1 +[ ${vtflag} -eq 1 ] && enablevt="true" + # external GUI vrdpport=${remotedesktopport} |