
On Unraid, you can create virtual machines, or even virtualize hypervisors if you enable nested virtualization.
However, to enable nested virtualization, you'll need a script and a plugin to use it (as you'll see in this tutorial).
To begin, go to the "Apps" tab and search for "user scripts".
Then, install the "User Scripts" plugin that appears.

Wait while the "user.scripts.plg" plugin is downloaded and installed.
Once the download and installation are complete, click Done.

The "User Scripts" plugin is installed.

To enable nested virtualization in Unraid, download the file "nested vms scripts.zip" (hosted on Dropbox).

Unzip this file "nested vms scripts.zip" and you will see 2 folders appear:

In each folder, you will find 2 files:
Note: the folder and file structure is as expected by the "User Scripts" plugin.

By default, the script is configured to enable nested virtualization for Intel processors.
Plain Text
cputype="1"
But, if your Unraid server has an AMD processor, you will need to specify the value "2" for the "cputype" variable.
Plain Text
cputype="2"

To add these scripts to your Unraid server, copy the "nested off" and "nested on" folders.

Then, paste these folders into the network share "TOWER\flash\config\plugins\user.scripts\scripts".
Note: the "Export" option for your Unraid server's "flash" share must be set to "Yes".
If it isn't, go to the "Main" tab of your Unraid server, then click the "Flash" link to change this option.

Now, go to: Settings -> User Scripts.

As you can see, both scripts "nested off" and "nested on" appear in the list.

Click the "Run script" button to the right of the "nested on" script.

Please wait while the script runs.
Plain Text
Nested vms are enabled for intel cpus.
Once the script has finished running, click: Done.

Next, for this "nested on" script, select "At Startup of Array" (on the right) to have this script run every time the array starts.
Note: virtual machines only run if the array is started.

NAS 4/1/2026
NAS 7/8/2026
NAS 5/13/2026
NAS 7/22/2026
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
You must be logged in to post a comment