MKAUTOINSTALLSCRIPT

Name

mkautoinstallscript --  create a SystemImager autoinstallscript

Synopsis

mkautoinstallscript [-help] [-version] [-quiet] [-no-listing] [-image IMAGENAME] [-update-script [YES|NO]] [-ip-assignment METHOD] [-post-install ACTION]

DESCRIPTION

This manual page documents briefly the mkautoinstallscript command.

mkautoinstallscript creates an autoinstallscript for a SystemImager image.

OPTIONS

A summary of options is included below.

-help

Show summary of options

-version

Display version and copyright information.

-quiet

Don't print any output, just provide an appropriate exit code.

-no-listing

Don't show each filename as it is copied over during install. This is useful for times when your console device is slow (e.g. serial console), and is the bottleneck of your installation.

-image IMAGENAME

Where IMAGENAME is the name of the image for which you want to create a new autoinstall script.

-update-script [YES|NO]

Update the $image.master script? Defaults to NO if -quiet. If not specified you will be prompted to confirm an updated.

The following options affect the autoinstall client after autoinstalling.

-ip-assignment METHOD

Where METHOD can be:

  • static_dhcp -- A DHCP server will assign the same static address each time to clients installed with this image. The DHCP server in this case also assigns the corresponding host name. It is possible therefore, when using static dhcp, to change a machine's hostname and IP address by simply changing one value in the dhcpd.conf file. Some may find this desirable. Also see the makedhcpstatic command.

  • dynamic_dhcp -- A DHCP server will assign IP addresses dynamically to clients installed with this image. In dynamic dhcp, the IP address of a machine may change, but you want it to retain the same host name. Therefore the hostname is set by the machine itself. They may be assigned a different address each time.

  • static -- The IP address the client uses during autoinstall will be permanently assigned to that client.

  • replicant -- Don't mess with the network settings in this image. I'm using it as a backup and quick restore mechanism for a single machine.

-post-install ACTION

ACTION can be:

  • beep -- Clients will beep incessantly after successful completion of an autoinstall.

  • reboot -- Clients will reboot themselves after successful completion of an autoinstall.

  • shutdown -- Clients will halt themselves after successful completion of an autoinstall.

SEE ALSO

getimage(8)

More details can be found in the SystemImager manual.

AUTHOR

This manual page was compiled by dann <> for the Debian GNU/Linux system (but may be used by others).