Using ctltool to edit control files for UNIX images

Each computer on which you want to install an image must have the same product configuration values as those stored in the image's control file. You can either create a new image, or edit the control file associated with the existing image to change the product configuration values.

Ctltool is a utility that you can use to change the product configuration values in an existing control file to create a new control file. The control file is used to install the same image on computers that require the different values.

Before you begin

You must have created the installable image.

To edit a control file

  1. Change to the /Install/instbin directory in the directory where the installable image is stored.
  2. Enter the following command:
    ctltool.sh path/inputfile.ctl path/outputfile.ctl
    The option path/inputfile.ctl represents the path to and name of the control file that you want to edit (the control file that was created with the installable image), and the option path/outputfile.ctl represents the path to and name of the new control file that you want to create.
    For example, you create an installable image and store the image in a directory called installableimage. When you create the image, the installation utility creates a .ctl file named install.ctl and stores that file in that directory along with the image files. To edit this control file and create a new one in the same directory, at the command prompt, you would change to installableimage/install/instbin, and enter ctltool.sh installableimage/install.ctl installableimage/newfile.ctl
    The installation utility displays the first value stored in the control file.
  3. Type a new value and press Enter to save your entry and display the next variable. To keep the existing value, press Enter. If you are changing a password variable, the value is encrypted in the new control file.
    When the ctltool has finished displaying all the variables in the control file, the command prompt is displayed.
  4. Rename the new control file to install.ctl so that when you install the image, the installation utility uses the new control file. The installation utility looks for a control file named install.ctlto perform the installation.

    Note

    Optionally, you can use the -install command line option when you install the image to specify the location and name of the new control file that you want to use. For more details on the -install command line option, see Installing an installable image on a UNIX computer.

Was this page helpful? Yes No Submitting... Thank you

Comments