summaryrefslogtreecommitdiffstats
path: root/share/scripts (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-12-05Adding SPDX License Identifiers.Daniel Baumann7-0/+14
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 Baumann2-0/+16
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 Baumann2-2/+32
files for container debconf create script. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-11-01Avoiding to display .cfg extension for preseed files in container debconf ↵Daniel Baumann1-2/+2
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 Baumann2-47/+50
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 Baumann3-50/+50
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-23Adding architecture option to curl container create script.Daniel Baumann1-4/+19
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-23Adding automatic compression detection for downloads in in curl container ↵Daniel Baumann1-8/+24
create directory. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-23Adding interactive container list in curl container create script.Daniel Baumann3-6/+147
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-23Adding GPG signature verification for curl container create script.Daniel Baumann1-10/+39
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-23Moving image cache from /var/cache/container-tools/images to ↵Daniel Baumann1-1/+1
/var/cache/container-tools/system for consistency. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-23Passing container name to setup environment in curl container create script.Daniel Baumann1-0/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-23Updating default filename for download in curl container create script.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-23Adding --setup option in curl container create script to manually specify a ↵Daniel Baumann1-3/+8
custom setup tarball. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-23Renaming --image option to --system in curl container create script for ↵Daniel Baumann1-14/+14
consistency. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-23Adding gzip dependency check in curl container create script for completness ↵Daniel Baumann1-1/+12
sake. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-23Sorting password option handling in curl container create script.Daniel Baumann1-6/+6
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-23Adding support for setup tarballs in curl container create script for ↵Daniel Baumann1-25/+58
appliance style setup of prebuilt containers. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-22Reshuffeling checksum handling in curl container create script.Daniel Baumann1-18/+26
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-22Adjusting messages output in curl container create script.Daniel Baumann1-3/+7
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-22Reshuffeling curl options handling in curl container create script.Daniel Baumann1-4/+6
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-22Dynamically prefer lzip over xz over gz in curl container create script, ↵Daniel Baumann1-1/+11
depending on if required decompressors are already installed on the host system. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-22Adding error messages in curl container create script if required ↵Daniel Baumann1-0/+12
decompressors are not installed.
2017-07-22Making sha512 checksum optional for image downloads in curl container create ↵Daniel Baumann1-20/+27
script. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-22Removing unreachable fallback for veth0, always the short-hostname is used ↵Daniel Baumann1-1/+1
anyway. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-22Using default eno1 instead of eth0 as default container interface.Daniel Baumann2-14/+14
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-22Using default bridge0 instead of br0 as default bridge interface.Daniel Baumann2-3/+3
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-22Adding cnt-debconf/mode preseed field to allow embedding container create ↵Daniel Baumann3-19/+39
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-22Updating default url to download images from in curl container create script.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-22Correcting typo in comment in curl container create script.Daniel Baumann1-1/+1
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 Baumann4-5/+29
'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 Baumann2-27/+11
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 Baumann3-5/+51
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 Baumann2-2/+6
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 Baumann6-6/+6
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Enabling pre and post hooks in container create scripts.Daniel Baumann3-0/+57
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 Baumann3-9/+9
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-22Adding sha512 verification to curl container create script.Daniel Baumann1-0/+25
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>