summaryrefslogtreecommitdiffstats
path: root/share/scripts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Updating year in copyright notices to 2019.Daniel Baumann2019-02-177-7/+7
| | | | 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-272-0/+69
| | | | | | create script. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding support for Debian testing/buster in debconf container create script.Daniel Baumann2018-02-181-2/+6
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Always sorting preseed files starting with a capital letter first in debconf ↵Daniel Baumann2018-02-181-1/+1
| | | | | | container create script, independent of systems locale. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Making container debconf create script aware of multiple subdirectories ↵Daniel Baumann2018-02-181-0/+9
| | | | | | below /etc/container-tools/debconf for automatically selecting an existing and matching debconf file. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Making container debconf create script aware of multiple subdirectories ↵Daniel Baumann2018-02-181-2/+2
| | | | | | below /etc/container-tools/debconf when showing the list of preseed files to the user. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating year in copyright information for 2018.Daniel Baumann2018-02-187-7/+7
| | | | 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>
* Automatically take default preseeding file from /etc/container-tools/debconf ↵Daniel Baumann2017-12-071-0/+5
| | | | | | if available. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Automatically take matching preseeding files from /etc/container-tools/debconf.Daniel Baumann2017-12-051-0/+6
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding SPDX License Identifiers.Daniel Baumann2017-12-057-0/+14
| | | | 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-012-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>
* Supporting using IP address from DNS lookup of the container name in preseed ↵Daniel Baumann2017-11-012-2/+32
| | | | | | files for container debconf create script. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Avoiding to display .cfg extension for preseed files in container debconf ↵Daniel Baumann2017-11-011-2/+2
| | | | | | 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-242-47/+50
| | | | | | 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-233-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>
* Adding architecture option to curl container create script.Daniel Baumann2017-07-231-4/+19
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding automatic compression detection for downloads in in curl container ↵Daniel Baumann2017-07-231-8/+24
| | | | | | create directory. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding interactive container list in curl container create script.Daniel Baumann2017-07-233-6/+147
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding GPG signature verification for curl container create script.Daniel Baumann2017-07-231-10/+39
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Moving image cache from /var/cache/container-tools/images to ↵Daniel Baumann2017-07-231-1/+1
| | | | | | /var/cache/container-tools/system for consistency. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Passing container name to setup environment in curl container create script.Daniel Baumann2017-07-231-0/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating default filename for download in curl container create script.Daniel Baumann2017-07-231-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding --setup option in curl container create script to manually specify a ↵Daniel Baumann2017-07-231-3/+8
| | | | | | custom setup tarball. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Renaming --image option to --system in curl container create script for ↵Daniel Baumann2017-07-231-14/+14
| | | | | | consistency. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding gzip dependency check in curl container create script for completness ↵Daniel Baumann2017-07-231-1/+12
| | | | | | sake. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Sorting password option handling in curl container create script.Daniel Baumann2017-07-231-6/+6
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding support for setup tarballs in curl container create script for ↵Daniel Baumann2017-07-231-25/+58
| | | | | | appliance style setup of prebuilt containers. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Reshuffeling checksum handling in curl container create script.Daniel Baumann2017-07-221-18/+26
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adjusting messages output in curl container create script.Daniel Baumann2017-07-221-3/+7
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Reshuffeling curl options handling in curl container create script.Daniel Baumann2017-07-221-4/+6
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Dynamically prefer lzip over xz over gz in curl container create script, ↵Daniel Baumann2017-07-221-1/+11
| | | | | | depending on if required decompressors are already installed on the host system. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding error messages in curl container create script if required ↵Daniel Baumann2017-07-221-0/+12
| | | | decompressors are not installed.
* Making sha512 checksum optional for image downloads in curl container create ↵Daniel Baumann2017-07-221-20/+27
| | | | | | script. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing unreachable fallback for veth0, always the short-hostname is used ↵Daniel Baumann2017-07-221-1/+1
| | | | | | anyway. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using default eno1 instead of eth0 as default container interface.Daniel Baumann2017-07-222-14/+14
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using default bridge0 instead of br0 as default bridge interface.Daniel Baumann2017-07-222-3/+3
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding cnt-debconf/mode preseed field to allow embedding container create ↵Daniel Baumann2017-07-223-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>
* Updating default url to download images from in curl container create script.Daniel Baumann2017-07-221-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Correcting typo in comment in curl container create script.Daniel Baumann2017-07-221-1/+1
| | | | 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-294-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>
* Dropping obsolete LTS archive definitions, thanks to Nik Lutz <nik@netstyle.ch>.Daniel Baumann2017-06-242-27/+11
| | | | 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>