DEV Community

Pradeep Kumar
Pradeep Kumar

Posted on • Edited on

2 2

Create DVD Drive ISO Library XenServer or XCP-ng

1) Login to the server via ssh or can WinSCP software to connect using scp protocal.

2) Create an folder:

mkdir /opt/os
Enter fullscreen mode Exit fullscreen mode

3) Open the folder

cd /opt/os
Enter fullscreen mode Exit fullscreen mode

4) Download setups (.iso) files

wget http://in.mirror.coganng.com/ubuntu-cdimage/20.04.3/ubuntu-20.04.3-desktop-amd64.iso
Enter fullscreen mode Exit fullscreen mode

5) Mount ISO folder

xe sr-create name-label="OS" type=iso device-config:location=/opt/os device-config:legacy_mode=true content-type=iso
Enter fullscreen mode Exit fullscreen mode

Now, create new VM, all the .iso files will be available in the dropdown.

If you upload any .iso file after the xe sr-create, you need to rescan the storage resource (sr) to recognize new .iso files. To do this follow steps:

1) Find UUID of the sr

xe sr-list
Enter fullscreen mode Exit fullscreen mode

2) Rescan sr folder:

xe sr-scan uuid=<uuid-of-sr>
Enter fullscreen mode Exit fullscreen mode

Now you will be able to see the new .iso files.

Reference:
https://www.youtube.com/watch?v=eNuBw3O0SmU

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more