Citrix Systems 6.1.0 manual Creating an answer file for unattended PXE installation

Models: 6.1.0

1 51
Download 51 pages 21.52 Kb
Page 47
Image 47

default xenserver label xenserver

kernel mboot.c32

append /tftpboot/xenserver/xen.gz dom0_max_vcpus=1-2 dom0_mem=752M,max:752M com1=115200,8n1 console=com1,vga --- /tftpboot/xenserver/vmlinuz \

xencons=hvc console=hvc0 console=tty0 \

--- /tftpboot/xenserver/install.img

A sample configuration that performs an unattended installation using the answer file at the URL specified:

Note:

To specify which network adapter should be used for retrieving the answer file, include the answerfile_device=ethX or answerfile_device=MAC parameter and specify either the ethernet device number or the MAC address of the device.

default xenserver-auto label xenserver-auto

kernel mboot.c32

append /tftpboot/xenserver/xen.gz dom0_max_vcpus=1-2 dom0_mem=752M,max:752M com1=115200,8n console=com1,vga --- /tftpboot/xenserver/vmlinuz \

xencons=hvc console=hvc0 console=tty0 \ answerfile=http://pxehost.example.com/-answerfile \ install --- /tftpboot/xenserver/install.img

For more information on PXE configuration file syntax, see the SYSLINUX website.

Please refer to your server operating system manual for details for your specific operating system. The information here is a guide that can be used for Red Hat, Fedora, and some other RPM-based distributions.

To set up the XenServer installation media on a HTTP, FTP, or NFS server:

1.On the server, create a new directory from which the XenServer installation media can be exported via HTTP, FTP or NFS.

2.Copy the entire contents of the XenServer installation media to the newly created directory on the HTTP, FTP or NFS server. This is your installation repository.

Note:

To make Supplemental Packs available during installation, copy the contents of each Supplemental Pack ISO into a separate directory within the main installation repository. Customers must edit XS-REPOSITORY-LISTto include the directory name in which the Supplemental Pack resides (on a new line). Otherwise the Supplemental Pack will not be installed. Refer to XenServer 6.1.0 Supplemental Pack & DDK Guide for more details.

Preparing the destination system

1.Start the system and enter the Boot Menu (F12 in most BIOS programs) and select to boot from your Ethernet card.

2.The system should then PXE boot from the installation source you set up, and the installation script will commence. If you have set up an answer file, the installation can proceed unattended.

C.2. Creating an answer file for unattended PXE installation

To perform installations in an unattended fashion, you need to create an XML answer file. Here is an example answer file:

42

Page 47
Image 47
Citrix Systems 6.1.0 manual Creating an answer file for unattended PXE installation, Preparing the destination system