summaryrefslogtreecommitdiffstats
path: root/share/scripts/debconf (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Cosmetically fixing internal preseed file when using the progress-linux package.Daniel Baumann2019-07-171-2/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Correcting whitespace error in include handling that broke debconf container ↵Daniel Baumann2019-04-131-1/+1
| | | | | | create script. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using trap function to unmount bind mounts etc. on exit with or without error.Daniel Baumann2019-04-131-105/+123
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Unmount bind mounts in reverse order to allow nested bind mounts.Nik Lutz2019-04-121-2/+4
| | | | | Signed-off-by: Nik Lutz <nik@netstyle.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Correcting typo when disabling IPv6 RA in debconf container create script, ↵Daniel Baumann2019-04-121-1/+1
| | | | | | thanks to Simon Spöhel <simon@spoehel.ch>. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Including gnupg explicitly in debconf container create command, thanks to ↵Daniel Baumann2019-04-121-0/+3
| | | | | | Nik Lutz <nik@netstyle.ch>. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding initial support for IPv6 in debconf container create script.Daniel Baumann2019-03-191-53/+164
| | | | | | | Note that this also removes support for non-CIDR IPv4 subnetmasks, e.g. '255.255.255.0' now has to be specified as '24'. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing a few fixmes that are not needed anymore.Daniel Baumann2019-03-021-16/+0
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing some dead code in container create scripts.Daniel Baumann2019-02-261-4/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding comment to debian sources.list in container debconf create script.Daniel Baumann2019-02-261-2/+10
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing progress-linux apt sources.list handling in container debconf ↵Daniel Baumann2019-02-261-93/+14
| | | | | | create script by using the progress-linux package instead. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using apt instead of apt-get in container debconf create script.Daniel Baumann2019-02-261-11/+11
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing Force-LoopBreak option when calling apt in container debconf create ↵Daniel Baumann2019-02-261-3/+3
| | | | | | script, not needed anymore. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing staging repositories in debconf create script, not used anymore.Daniel Baumann2019-02-241-34/+0
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Renaming container-tools to compute-tools.Daniel Baumann2019-02-231-14/+16
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Replacing archive signing key handling for progress-linux by install the ↵Daniel Baumann2019-02-181-52/+7
| | | | | | progress-linux package. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Correcting (harmless) error in https mirror handling wrt/ installing ↵Daniel Baumann2019-02-171-2/+2
| | | | | | apt-transport-https. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating year in copyright notices to 2019.Daniel Baumann2019-02-171-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing bind mounting of /var/cache/apt/archives during creation of the ↵Daniel Baumann2018-07-271-6/+0
| | | | | | container, not really usefull anymore these days. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding support for multiple container and host commands in debconf container ↵Daniel Baumann2018-07-271-0/+25
| | | | | | create script. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating year in copyright information for 2018.Daniel Baumann2018-02-181-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Running host commands as last thing in debconf container create script in ↵Daniel Baumann2018-01-191-11/+13
| | | | | | order to make it possible to change config files dynamically. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding SPDX License Identifiers.Daniel Baumann2017-12-051-0/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Supporting using IP address parts of the container name in preseed files for ↵Daniel Baumann2017-11-011-0/+8
| | | | | | | | | container debconf create script. This is usefull to automatically construct IP gateway addresses or veth interface names in a diff-friendly way. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Supporting using IP address from DNS lookup of the container name in preseed ↵Daniel Baumann2017-11-011-1/+16
| | | | | | files for container debconf create script. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing ifupdown in debconf container create script earlier by excluding it ↵Daniel Baumann2017-10-131-7/+3
| | | | | | from debootstrap. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Fixing issues from network0 -> network1 transition in debconf container ↵Daniel Baumann2017-07-241-18/+21
| | | | | | create script. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Starting to count at 1 instead of 0 to be consistent with new network ↵Daniel Baumann2017-07-231-1/+1
| | | | | | | | | | | | interface names in network and archive preseeding arrays. old: container-tools cnt-debconf/archive0/... new: container-tools cnt-debconf/archive1/... old: container-tools cnt-debconf/network0/... new: container-tools cnt-debconf/network1/... Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using default eno1 instead of eth0 as default container interface.Daniel Baumann2017-07-221-12/+12
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using default bridge0 instead of br0 as default bridge interface.Daniel Baumann2017-07-221-2/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding cnt-debconf/mode preseed field to allow embedding container create ↵Daniel Baumann2017-07-221-19/+9
| | | | | | script within preseed file itself without relying on a specific default create script being set on the host system, thanks to David Kunz for the idea. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Also removing /etc/localtime before reconfiguring tzdata to workaround ↵Daniel Baumann2017-07-011-1/+1
| | | | | | broken tzdata preseed handling (see several bug reports in the BTS), thanks to Nik Lutz <nik@netstyle.ch>. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Harmonizing edition of container configuration file in debconf script.Daniel Baumann2017-06-291-7/+8
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Renaming cnt.auto to cnt.container-server in order to split functionality of ↵Daniel Baumann2017-06-291-0/+6
| | | | | | 'binding container to a specific host system' from 'starting container at system boot'. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Dropping obsolete LTS archive definitions, thanks to Nik Lutz <nik@netstyle.ch>.Daniel Baumann2017-06-241-16/+0
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Implementing postup/postdown for systemd-networkd by creating systemd units ↵Nik Lutz2017-06-241-4/+42
| | | | | | in /etc/systemd/system. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing useless whitespace in debconf script.Daniel Baumann2017-06-241-1/+0
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Reverting "Purging packages that got removed/replaced during container ↵Daniel Baumann2017-05-221-10/+0
| | | | | | | | creation.", not needed anymore. This reverts commit 8aa267f. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Purging packages that got removed/replaced during container creation.Daniel Baumann2017-05-091-0/+10
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Purging packages when autoremoving them.Daniel Baumann2017-05-091-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Consistently using '--force-confnew' as dpkg option when upgrading or ↵Daniel Baumann2017-04-051-11/+3
| | | | | | installing packages. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding support for bind-ro nspawn option for read-only bind mounts.Daniel Baumann2017-04-031-3/+39
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Allowing @NAME@ variable in preseed files to allow for more flexibel preseed ↵Daniel Baumann2017-04-031-1/+1
| | | | | | templating. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Cleanup stray preseed.cfg removal.Daniel Baumann2017-04-031-2/+0
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating year in copyright information for 2017.Daniel Baumann2017-01-041-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Enabling pre and post hooks in container create scripts.Daniel Baumann2016-12-111-0/+19
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Minimizing included packages by default in debconf container create script.Daniel Baumann2016-11-251-11/+0
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Renaming too generic internal getopt variables to avoid possible collisions ↵Daniel Baumann2016-11-251-3/+3
| | | | | | in the future. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing libui-dialog-perl from includes in debconf container create script.Daniel Baumann2016-11-221-2/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Correcting syntax in usage message of container create scripts.Daniel Baumann2016-11-121-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>