Mailing List Archive

How to Make Use of my NFS ISO S/R...
I've created an NFS ISO storage repository...

On the NFS server:
# ls -1 /srv/images/ISO/*.iso
/srv/images/ISO/CentOS-7.7-x86_64-Minimal.iso
/srv/images/ISO/ubuntu-20.04.3-live-server-amd64.iso
/srv/images/ISO/xcp-ng-8.2.1.iso

On the XCP-ng host...
xe sr-create name-label=NAS-ISO type=iso
device-config:location=192.168.0.95:/srv/images/ISO shared=true

How do I make use of it when installing guests from the CLI?

TIA,
Eric Pretorious
Reno, Nevada
Re: How to Make Use of my NFS ISO S/R... [ In reply to ]
I only ask because the value of having created the NFS ISO storage
repository is clear* when using a GUI* (e.g., Xen Orchestra). But I'm not
sure what value it adds *when using the CLI*... e.g., When installing from
the CLI I access the ISO this way:

xe vm-param-set uuid=<<<Guest_UUID>>> other-config:install-repository=nfs://
192.168.0.95/srv/images/ISO/CentOS-7.7-x86_64-Minimal.iso

But maybe I'm doing that wrong!

TIA,
Eric P.
Reno, Nevada

On Fri, Nov 4, 2022 at 4:26 PM Practical XenServer <
practicalxenserver@gmail.com> wrote:

> I've created an NFS ISO storage repository...
>
> On the NFS server:
> # ls -1 /srv/images/ISO/*.iso
> /srv/images/ISO/CentOS-7.7-x86_64-Minimal.iso
> /srv/images/ISO/ubuntu-20.04.3-live-server-amd64.iso
> /srv/images/ISO/xcp-ng-8.2.1.iso
>
> On the XCP-ng host...
> xe sr-create name-label=NAS-ISO type=iso
> device-config:location=192.168.0.95:/srv/images/ISO shared=true
>
> How do I make use of it when installing guests from the CLI?
>
> TIA,
> Eric Pretorious
> Reno, Nevada
>