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.

Add --nvram to VM delete command

Featured Replies

As discussed here some VMs e.g. the ones made by macinabox use nvram and virsh will refuse to remove such VMs without the --nvram parameter, so trying to delete via GUI will just hang with a spinning icon and do nothing, they have to be deleted with "virsh undefine --nvram VMName" from the command line.

 

Adding the --nvram parameter doesn't seem to hurt removal of "normal" VMs, so it might be useful to add it to the GUI's "Remove VM" command.

32 minutes ago, Kilrah said:

As discussed here some VMs e.g. the ones made by macinabox use nvram and virsh will refuse to remove such VMs without the --nvram parameter, so trying to delete via GUI will just hang with a spinning icon and do nothing, they have to be deleted with "virsh undefine --nvram VMName" from the command line.

 

Adding the --nvram parameter doesn't seem to hurt removal of "normal" VMs, so it might be useful to add it to the GUI's "Remove VM" command.

Code deletes the vm nvram first then undefines via php api. there is a flags version but may have to ask libvirt devs as not documented.

https://github.com/limetech/webgui/blob/4d836adc0d2bd058fbabc030b1b89d4183bfe04b/plugins/dynamix.vm.manager/include/libvirt.php#L1774

 

 

 

  • Author

Well it seems not to work since I've run into the issue (on 6.11) and searching for it pointed out others having it... the command with --nvram in terminal works.

 

Not sure how to help diagnose where it breaks...

 

Edited by Kilrah

2 minutes ago, Kilrah said:

Well it seems not to work since I've run into the issue (on 6.11) and searching for it pointed out others having it... the command with --nvram in terminal works.

 

Not sure how to help diagnose where it breaks...

 

Maybe macinthe box is not using the correct file names will look into it.

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.