Cisco Server Provisioner 6.6 User's Guide ("Chuck Berry")

Customizing the Provisioning Process

Hide Navigation Pane

Customizing the Provisioning Process

Previous topic Next topic Expand/collapse all hidden text  

Customizing the Provisioning Process

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

 

After provisioning templates and roles have been created, the provisioning process can be tuned and enhanced to include the installation of applications, the execution of scripts and the copying of files onto the system being provisioned.

 

Customizing the provisioning process is done by editing the control (configuration) file preseed.cfg. Please note that the Provisioner PXE Server includes 2 types of preseed files for each Ubuntu distribution/architecture: desktop and server.

 

MAC-Specific Provisioning:

 

There are 2 ways to customize the provisioning process:

1)For a given Provisioning Role Template, edit the Template data in the GUI:

MAC-Spec_template_Ubuntu1004_autofilled_arrows_customize

 

 

2)To customize the master Template that builds all GUI templates, edit the file directly:

/home/tftpboot/templates/ubuntu10_04_0_x86_64_server.tmpl

After you have edited this file, all GUI templates you create will be populated with the file that you edited. Be sure to make a backup copy of the .tmpl file before you edit it.

 

Caution: If you alter any line containing either ";;" or "$", you may corrupt the template. Below are sample lines that should not be modified:

# ;;distro_template_file="ubuntu10_04_0_x86_64_server.tmpl"

# machine_name......................$machine_name

# ip_address........................$node_ip_address

 

 

MAC-Independent Provisioning

 

MAC-Independent configuration files are located in the pub/ directory under the Linux distribution directory. For example:

/home/tftpboot/pub/ubuntu10_04_0_x86_64/ubuntu10_04_0_x86_64_server_preseed.cfg

 

Caution: back up any modifications you make to these control files because when you upgrade your Provisioner PXE Server or when you run setup.pl to change the default host name, password and other parameters, your changes will be overwritten!

 

Automating new Debian and Ubuntu installations with preseeding

 

Changing Preseed files from SATA to IDE drives

 

Ubuntu and Debian kernel ("boot") parameters (including to specify which NIC to use)

 

Starting with Ubuntu 9.04, passwords must have at least 8 characters.

 

If wish to provision a version of Linux that is not supported by Cisco and you have used "loadlinux.pl" to place an unsupported ISO into a supported OS directory, please note the paths and file names for the kernel  (“linux”) and ramdisk (initrd.gz), as well as the control file (*.cfg) in the image above (and use the "Browse" buttons to navigate to the appropriate files.)