Create non-persistent vm on XenServer

Create non-persistent vm on XenServer

book

Article ID: CTX222456

calendar_today

Updated On:

Description

You can create a non-persistent XenServer VM by setting the VDI param to on-boot=reset
VM will reset to original state after each reboot 


Instructions

Check the VDI uuid associated with the VM using below command :

xe vm-disk-list uuid=<VM uuid>

Copy the VDI uuid you want to set this param to, and run below command to set the parameter:
Note : VM should be in halted state when you set this parameter
xe vdi-param-set on-boot=reset uuid=<VDI uuid>

User-added image

Environment

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.