diff --git a/emhttp/languages/en_US/helptext.txt b/emhttp/languages/en_US/helptext.txt index 5d437b799..1689681ed 100644 --- a/emhttp/languages/en_US/helptext.txt +++ b/emhttp/languages/en_US/helptext.txt @@ -1581,6 +1581,10 @@ Make sure any newly entered values represent the selected temperature unit. Stopping the VM Manager will first attempt to shutdown all running VMs. After 60 seconds, any remaining VM instances will be terminated. :end +:vms_disable_help: +Stop VMs from Autostarting when VM Manager starts. +:end + :vms_libvirt_volume_help: This is the libvirt volume. :end diff --git a/emhttp/plugins/dynamix.vm.manager/VMSettings.page b/emhttp/plugins/dynamix.vm.manager/VMSettings.page index b7ca08f24..1693a06fe 100644 --- a/emhttp/plugins/dynamix.vm.manager/VMSettings.page +++ b/emhttp/plugins/dynamix.vm.manager/VMSettings.page @@ -99,6 +99,14 @@ _(Enable VMs)_: :vms_enable_help: +_(Disable Autostart VMs)_: +: + +:vms_disable_help: +
diff --git a/sbin/qemu b/sbin/qemu index 16d959464..467394cda 100755 --- a/sbin/qemu +++ b/sbin/qemu @@ -1,3 +1,7 @@ #!/bin/bash - +source /boot/config/domain.cfg +if [ $DISABLE == "yes" ] + then + exit ; +fi eval exec /usr/bin/qemu-system-x86_64 $(/usr/local/emhttp/plugins/dynamix.vm.manager/scripts/qemu.php "$@") \ No newline at end of file