20
8. Get the UUID of the VBD corresponding to the new virtual CD drive:
xe vbd-list vm-uuid=<vm_uuid> type=CD params=uuid --minimal
9. Make the VBD of the virtual CD bootable:
xe vbd-param-set uuid=<cd_drive_uuid> bootable=true
10. Set the install repository of the VM to be the CD drive:
xe vm-param-set uuid=<vm_uuid> other-config:install-repository=cdrom
11. Start the VM
xe vm-start uuid=<vm_uuid>
12. Open a console to the VM with XenCenter or an SSH terminal and follow the steps to perform the OS
installation.
Note:
The console in XenCenter supports VNC graphical installation of the Red Hat, Oracle, and CentOS operating
systems. Ensure that the virtual machine has enough memory allocated for this to be enabled. If you set
the memory allocation to 512MB or higher, you will be prompted to start VNC after the initial text screens.
Choosing to continue using VNC and setting a password will enable the Switch to Graphical Console button.
Installing Linux from a network installation server to a VM
The XenServer guest installer allows you to install an operating system from a network-accessible copy of
vendor media onto a VM. To prepare for installing from vendor media, make an exploded network repository
of your vendor media (not ISO images) and export it over NFS, HTTP or FTP so that it is accessible to
the XenServer host administration interface. See Appendix B, Setting Up a Red Hat Installation Server for
information on how to copy a set of installation CDs to a network drive.
The network repository must be accessible from the control domain of the XenServer host, normally using
the management interface. The URL must point to the base of the CD/DVD image on the network server,
and be of the form:
• HTTP
http://<server>/<path>
• FTP
ftp://<server>/<path>
• NFS
nfs://<server>/<path> or nfs://<server>/<path>
See the vendor's installation instructions for information about how to prepare for a network-based
installation, such as where to unpack the ISO.
Note that when using the NFS installation method from XenCenter, the nfs:// style of path should always
be used. XenCenter will then modify this into the correct form when passing it to the server automatically.
When using the CLI as per the instructions below, the appropriate form must be chosen manually. In the
case of SUSE-based distributions this is the nfs://<server>/<path> style, and in the case of Red-Hat
based distributions this is nfs:<server>:/<path>.
When creating VMs from templates, the XenCenter New VM wizard prompts you for the repository URL.
When using the CLI, install the template as normal using vm-install and then set the other-config:install-
repository parameter to the value of the URL. When the VM is subsequently started, it will begin the network
installation process.