summaryrefslogtreecommitdiffstats
path: root/share/scripts/debconf (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-01-19Running host commands as last thing in debconf container create script in ↵Daniel Baumann1-11/+13
order to make it possible to change config files dynamically. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-12-05Adding SPDX License Identifiers.Daniel Baumann1-0/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-11-01Supporting using IP address parts of the container name in preseed files for ↵Daniel Baumann1-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>
2017-11-01Supporting using IP address from DNS lookup of the container name in preseed ↵Daniel Baumann1-1/+16
files for container debconf create script. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-10-13Removing ifupdown in debconf container create script earlier by excluding it ↵Daniel Baumann1-7/+3
from debootstrap. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-24Fixing issues from network0 -> network1 transition in debconf container ↵Daniel Baumann1-18/+21
create script. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-23Starting to count at 1 instead of 0 to be consistent with new network ↵Daniel Baumann1-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>
2017-07-22Using default eno1 instead of eth0 as default container interface.Daniel Baumann1-12/+12
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-22Using default bridge0 instead of br0 as default bridge interface.Daniel Baumann1-2/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-22Adding cnt-debconf/mode preseed field to allow embedding container create ↵Daniel Baumann1-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>
2017-07-01Also removing /etc/localtime before reconfiguring tzdata to workaround ↵Daniel Baumann1-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>
2017-06-29Harmonizing edition of container configuration file in debconf script.Daniel Baumann1-7/+8
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-06-29Renaming cnt.auto to cnt.container-server in order to split functionality of ↵Daniel Baumann1-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>
2017-06-24Dropping obsolete LTS archive definitions, thanks to Nik Lutz <nik@netstyle.ch>.Daniel Baumann1-16/+0
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-06-24Implementing postup/postdown for systemd-networkd by creating systemd units ↵Nik Lutz1-4/+42
in /etc/systemd/system. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-06-24Removing useless whitespace in debconf script.Daniel Baumann1-1/+0
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-05-22Reverting "Purging packages that got removed/replaced during container ↵Daniel Baumann1-10/+0
creation.", not needed anymore. This reverts commit 8aa267f. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-05-09Purging packages that got removed/replaced during container creation.Daniel Baumann1-0/+10
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-05-09Purging packages when autoremoving them.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-04-05Consistently using '--force-confnew' as dpkg option when upgrading or ↵Daniel Baumann1-11/+3
installing packages. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-04-03Adding support for bind-ro nspawn option for read-only bind mounts.Daniel Baumann1-3/+39
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-04-03Allowing @NAME@ variable in preseed files to allow for more flexibel preseed ↵Daniel Baumann1-1/+1
templating. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-04-03Cleanup stray preseed.cfg removal.Daniel Baumann1-2/+0
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-01-04Updating year in copyright information for 2017.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Enabling pre and post hooks in container create scripts.Daniel Baumann1-0/+19
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-11-25Minimizing included packages by default in debconf container create script.Daniel Baumann1-11/+0
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-11-25Renaming too generic internal getopt variables to avoid possible collisions ↵Daniel Baumann1-3/+3
in the future. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-11-22Removing libui-dialog-perl from includes in debconf container create script.Daniel Baumann1-2/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-11-12Correcting syntax in usage message of container create scripts.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-11-06Using systemd-networkd in container instead of ifupdown.Daniel Baumann1-85/+87
Tested-by: Simon Spöhel <simon.spoehel@open-infrastructure.net> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-10-25Updating progress-linux archive-key filenames.Daniel Baumann1-12/+4
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-10-25Automatically adding restricted archive areas for progress-linux extras ↵Daniel Baumann1-4/+24
repositories if non-free is enabled. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-10-25Removing obsolete configuration for network in interfaces of debconf ↵Daniel Baumann1-6/+0
container create script. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-10-25Removing obsolete configuration for broadcast in interfaces of debconf ↵Daniel Baumann1-6/+0
container create script. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-10-25Switching from ftp.debian.org as default debian mirror to deb.debian.org in ↵Daniel Baumann1-3/+11
debconf script. deb.debian.org offers https, see https://lists.debian.org/debian-devel/2016/10/msg00281.html Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-10-25Changing installation of systemd support packages to workaround systemd-shim ↵Daniel Baumann1-2/+5
failures in debootstrap. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-08-04Adding host system based overlay mounts.Daniel Baumann1-0/+43
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-07-01Creating machines directory in container create scripts if it's not already ↵Daniel Baumann1-0/+1
existing. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-06-14Including systemd-sysv in default package selection of progress-linux ↵Daniel Baumann1-2/+2
container create script to prevent pulling in systemd-shim and cgmanager. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-06-14Including apt-transport-https in default package selection of progress-linux ↵Daniel Baumann1-1/+1
container create script. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-06-03Adding auto option to set automatic start in debconf script.Daniel Baumann1-0/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-06-03Correcting cleanup of temporary debconf files in debconf script.Daniel Baumann1-3/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-06-03Mounting bind mounts for the duration of the debconf script.Daniel Baumann1-0/+30
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-06-03Adding bind option to bind mount directories in debconf script.Daniel Baumann1-0/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-06-03Reworking container-autostart program into container auto command.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-05-18Replacing systemd-nspawn '--network-bridge=' with one config file per ↵Nik Lutz1-1/+4
interface in /etc/network/interfaces.d. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-05-18Using eth[0-9] instead of host[0-9] in containers /etc/network/interface.Nik Lutz1-5/+5
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-05-18Using systemd-nspawn '--network-veth-extra=' instead of '--network-veth' ↵Nik Lutz1-0/+25
(prerequisite for multiple network interface support per container). Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-05-18Fixing path argument of chmod for .container-command script in the debconf ↵Nik Lutz1-1/+1
script. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-03-31Updating comments in scripts.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>