Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need to Override VM Autostart without VM Manager Running

Featured Replies

I managed to kludge the XML for my Win10 VM such that it takes out the /boot drive when it starts, wreaking havoc on the system.  Unfortunately, the Autostart switch for the VM was set when I was editing the XML, so restarting unraid puts me into the same bad situation.  To avoid this do-loop, I manually disabled the VM Manager in the /boot/config/domain.cnf file and rebooted the system.  Now works fine (without VMs).  However, re-enabling the VM Manager in Settings starts the same sequence of events, as re-enabling the VM Manager also re-starts any VMs with the Autostart switch set.  So no way to get into the VM XML editor to fix the problem.

So I need a way to clear the Autostart switch for the VM from outside the VM Manager.  Any help is greatly appreciated!

Solved by SimonF

  • Community Expert
  • Solution
15 minutes ago, stchas said:

I managed to kludge the XML for my Win10 VM such that it takes out the /boot drive when it starts, wreaking havoc on the system.  Unfortunately, the Autostart switch for the VM was set when I was editing the XML, so restarting unraid puts me into the same bad situation.  To avoid this do-loop, I manually disabled the VM Manager in the /boot/config/domain.cnf file and rebooted the system.  Now works fine (without VMs).  However, re-enabling the VM Manager in Settings starts the same sequence of events, as re-enabling the VM Manager also re-starts any VMs with the Autostart switch set.  So no way to get into the VM XML editor to fix the problem.

So I need a way to clear the Autostart switch for the VM from outside the VM Manager.  Any help is greatly appreciated!

Rename /usr/local/sbin/qemu to qemu.old then start VM manager disable auto start and then rename the file back

  • Author

That fixed my issue.  Thanks SimonF!

  • 5 months later...
On 10/26/2023 at 1:39 PM, SimonF said:

Rename /usr/local/sbin/qemu to qemu.old then start VM manager disable auto start and then rename the file back

 

Saved me! Was stuck cause my bindings changed when I added a new PCIe card.

 

Is it reasonable to request a feature where you can force disable autostart to all VMs from the VM settings to avoid this situation when there are hardware changes?

  • Community Expert
4 hours ago, bigbangus said:

 

Saved me! Was stuck cause my bindings changed when I added a new PCIe card.

 

Is it reasonable to request a feature where you can force disable autostart to all VMs from the VM settings to avoid this situation when there are hardware changes?

Option has been added to the next release for this.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.