man mkautoinstallscript (Administration système) - create a SystemImager autoinstallscript

NAME

mkautoinstallscript - create a SystemImager autoinstallscript

SYNOPSIS

mkautoinstallscript [ --help ] [ --version ] [ --quiet ] [ --no-listing ] [ --image IMAGENAME ] [ --script SCRIPTNAME ] [ --force [YES|NO] ] [ --config-file FILE ] [ --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.
--script SCRIPTNAME
Where SCRIPTNAME is the base name to use for the resultant autoinstall script. If not specified, SCRIPTNAME defaults to IMAGENAME. This is most often used when you want to have multiple autoinstallscripts for a single image; i.e. when you have clients with different partitioning and/or filesystem schemes that use the same image (same file set).
--force [YES|NO]
Update the $image.master script? Defaults to NO if -quiet. If not specified you will be prompted to confirm an updated.
--config-file FILE
Use FILE to get autoinstallscript configuration information. Defaults to ./etc/systemimager/autoinstallscript.conf in the image directory.

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 mkdhcpstatic 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), autoinstallscript.conf(5)

More details can be found in the SystemImager manual.

AUTHOR

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