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

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay