Installing a Custom Operating System with HP Insight Control for Linux

5
If you choose to encrypt the root password, you must provide a password encryption script that
accepts the password from StdIn and outputs the encrypted password through StdOut. The full path
name of this script must be
/opt/repository/instconfig/custom/MyOS/encrypt_passwd
Where MyOS is the name of the operating system you entered in the Name field when you
registered your custom OS in the Insight Control for Linux repository (see
Registering your custom
operating system).
Insight Control for Linux provides an example
encrypt_passwd script for the CentOS 5 and
Debian 5 operating systems. Use the appropriate example as a template for your own
encrypt_passwd script. You can find these example scripts at the following location:
/opt/repository/instconfig/custom/examples/MyOS/encrypt_passwd
Where MyOS is either CentOS5 or Debian5.
Make sure that the root user has execute permission for the encrypt_passwd script.
The Variables file
Whenever you install a custom OS, Insight Control for Linux creates a GUID.vars file. This file
contains variables that:
The auto_config script can use to perform macro substitutions in the installation configuration
file. For more information, see
Using auto_config to prepare the installation configuration file.
The boot_stanza script can use to construct a boot stanza that specifies your kernel and RAM
disk; the boot stanza enables the boot loader to boot your custom OS. For more information, see
Constructing the boot stanza for the boot loader.
The extra_files script can use to copy additional files, needed for booting using virtual media,
to the ISO.
This table briefly describes each variable in the GUID.vars file:
Variable Name
Description
boot_dir
The directory containing the boot files, such as the kernel and RAM disk
(initrd).
For example, /opt/repository/boot/CentOS5.4-x64Boot
boot_method
The method that the server will use to network boot.
The possible values are pxe and virtual_media.
cms_http_ip
The IP address on the CMS where the web server is listening on.
cms_http_port
The port number on the CMS where the web server is listening on.
config_file
Absolute path to the server-specific installation configuration file. This
file is a copy of the installation configuration file you registered in the
repository (see
Registering your installation configuration file), with the
macros substituted with actual values.
For example, /opt/repository/instconfig/GUID
config_url
The HTTP path to the server specific installation configuration file. This
file is a copy of the installation configuration file you registered in the
repository (see
Registering your installation configuration file), with the
macros substituted with actual values.