Skip to main content

Create a ISO folder

Find server UUID:

xe host-list

Create ISO folder

mkdir -p /var/opt/xen/ISO

Create SR for ISO

xe sr-create name-label="Local ISO”ISO" type=iso host-uuid=<host-uuid> \device-config:location=/var/opt/xen/ISO \device-config:legacy_mode=true content-type=iso

To remove the SR

Find SR PDB UUID

xe pbd-list sr-uuid=<UUID of SR>

Unplug SR

xe pbd-unplug uuid=<UUID of PBD>

Forget SR

xe sr-forget uuid=<UUID of SR>