OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

It is possible to include other preconfiguration files from a preconfiguration file. Any settings in those files will override pre-existing settings from files loaded earlier. This makes it possible to put, for example, general networking settings for your location in one file and more specific settings for certain configurations in other files.


# More than one file can be listed, separated by spaces; all will be

# loaded. The included files can have preseed/include directives of their

# own as well. Note that if the filenames are relative, they are taken from

# the same directory as the preconfiguration file that includes them.

#d-i preseed/include string x.cfg


# The installer can optionally verify checksums of preconfiguration files

# before using them. Currently only md5sums are supported, list the md5sums

# in the same order as the list of files to include.

#d-i preseed/include/checksum string 5da499872becccfeda2c4872f9171c3d


# More flexibly, this runs a shell command and if it outputs the names of

# preconfiguration files, includes those files.

#d-i preseed/include_command \

# string if [ "‘hostname‘" = bob ]; then echo bob.cfg; fi


# Most flexibly of all, this downloads a program and runs it. The program

# can use commands such as debconf-set to manipulate the debconf database.

# More than one script can be listed, separated by spaces.

# Note that if the filenames are relative, they are taken from the same

# directory as the preconfiguration file that runs them.

#d-i preseed/run string foo.sh


It is also possible to chainload from the initrd or file preseeding phase, into network preseeding by setting preseed/url in the earlier files. This will cause network preseeding to be performed when the network comes up. You need to be careful when doing this, since there will be two distinct runs at preseeding, meaning for example that you get another chance to run the preseed/early command, the second one happening after the network comes up.

Appendix C. Partitioning for Ubuntu‌


Top OS Cloud Computing at OnWorks: