summaryrefslogtreecommitdiffstats
path: root/share/scripts (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* 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-033-5/+51
| | | | 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-032-2/+6
| | | | | | 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-046-6/+6
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Enabling pre and post hooks in container create scripts.Daniel Baumann2016-12-113-0/+57
| | | | 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-253-9/+9
| | | | | | 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>
* Adding sha512 verification to curl container create script.Daniel Baumann2016-11-221-0/+25
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using https by default in container-images.sh example script.Daniel Baumann2016-11-221-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Changing cache directory in curl create script from ↵Daniel Baumann2016-11-221-1/+1
| | | | | | /var/cache/container-tools/curl to /var/cache/container-tools/images. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding --clean option to curl container create script to remove downloaded ↵Daniel Baumann2016-11-221-2/+14
| | | | | | tarball from cache after successfull container creation. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using curl with --fail option to abort in case of server/url errors.Daniel Baumann2016-11-221-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding runtime detection for http2 option in curl create script.Daniel Baumann2016-11-221-1/+6
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>