summaryrefslogtreecommitdiffstats
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removing limit command until its completly tested.Daniel Baumann2019-03-022-294/+10
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing key command until its completly tested.Daniel Baumann2019-03-021-152/+0
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding a end message in container create command.Daniel Baumann2019-02-231-0/+3
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using hostname fallback if FQDN is not set.Daniel Baumann2019-02-234-4/+4
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Renaming container-tools to compute-tools.Daniel Baumann2019-02-2316-79/+96
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding container log command.Daniel Baumann2019-02-181-0/+144
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding verbose output when using '-n ALL' options with container commands.Daniel Baumann2019-02-174-0/+24
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating year in copyright notices to 2019.Daniel Baumann2019-02-1714-14/+14
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Also allowing symlinks for containers, requires systemd 233 or newer (see ↵Daniel Baumann2018-07-171-1/+1
| | | | | | #805785). Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Dropping untested arm64 specific settings in container start command.Daniel Baumann2018-06-251-12/+0
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding check in container create command to not create any container named ↵Daniel Baumann2018-05-271-0/+7
| | | | | | 'ALL'. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding 'ALL' as pseudo container name for container start, stop, restart, ↵Daniel Baumann2018-05-274-0/+73
| | | | | | and remove commands to act on all available container respectivly. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Correcting typo in verbose option handling of container remove command.Daniel Baumann2018-05-271-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Setting dummy SSH_CLIENT variable during container enter to enable ↵Daniel Baumann2018-05-271-0/+8
| | | | | | conditional shell prompts such as powerline. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding missing command variable in some container commands.Daniel Baumann2018-05-272-0/+4
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Correcting and simplifying nsenter call in container enter command.Daniel Baumann2018-05-271-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Calling shell in container enter command directly, replacing ↵Daniel Baumann2018-05-271-8/+1
| | | | | | container-nsenter helper program. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding -v, --verbose option to container-create command to be used e.g. when ↵Daniel Baumann2018-05-031-3/+20
| | | | | | mass-creating new containers in a row. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding container remove --allow-stop option to override abort of running ↵Daniel Baumann2018-02-181-4/+18
| | | | | | containers and stop them prior removal. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating year in copyright information for 2018.Daniel Baumann2018-02-1814-14/+14
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding message when creating bind mount directories in container start command.Daniel Baumann2018-01-191-2/+10
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding SPDX License Identifiers.Daniel Baumann2017-12-0515-0/+30
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding sh shortcut for shell format in container list command.Daniel Baumann2017-10-311-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing fallback TERM in container list, not needed anymore.Daniel Baumann2017-10-271-2/+0
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing some dead code in network-veth-extra handling.Daniel Baumann2017-10-132-14/+7
| | | | | | | This stuff is redundant when using bridges, and not using bridges has never worked anyway, hence removing it. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using iproute instead of bridge-utils to setup bridges.Daniel Baumann2017-10-131-2/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using iproute instead of net-tools to setup interfaces.Daniel Baumann2017-10-131-4/+4
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using linux as fallback TERM in container list command.Daniel Baumann2017-10-061-0/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding container key command.Daniel Baumann2017-07-231-0/+149
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding interface max length check in container start command.Daniel Baumann2017-07-221-0/+10
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Fixing spelling typo in 'bandwidth'.Simon Spöhel2017-07-222-18/+18
| | | | | Signed-off-by: Simon Spöhel <simon.spoehel@open-infrastructure.net> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Avoid removing top-level directories when cleaning up bind mounts in ↵Daniel Baumann2017-07-012-8/+47
| | | | | | | | | container remove and stop commands. Previously when using 'bind=/mnt/foo:/foo/bar/baz;', this removed /mnt on the host system too (if empty). Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Correcting boolean typo when checking for existence of new container in ↵Daniel Baumann2017-06-301-1/+1
| | | | | | container move command, thanks to Simon Spöhel <simon.spoehel@open-infrastructure.net>. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Allow cnt.auto=force-true to enforce startup of a locked container at system ↵Daniel Baumann2017-06-291-1/+6
| | | | | | | | | startup. Use case: start specific containers automatically after e.g. a power loss of the container server. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adjusting container list outout for container top command.Daniel Baumann2017-06-291-2/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding new container top command.Daniel Baumann2017-06-291-0/+113
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using more systemd-ish status symbols in container list command.Daniel Baumann2017-06-291-2/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Executing auto commands only when cnt.auto=true and cnt.container-server ↵Daniel Baumann2017-06-291-1/+1
| | | | | | matches the current hostname. 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-293-7/+13
| | | | | | 'binding container to a specific host system' from 'starting container at system boot'. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Correcting bind-ro option handling to actually work.Daniel Baumann2017-05-101-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating list of excluded directory names in container list command.Daniel Baumann2017-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | * dropping .container-tools and container-tools, on shared storage we recommend to use the following scheme: - /srv/container - /srv/container/config - /srv/container/debconfig - /srv/container/system - /srv/container/data whereas the following symlinks are in place: - /var/lib/machines -> /srv/container/system - /etc/container-tools/config -> /srv/container/config - /etc/container-tools/debconfig -> /srv/container/debconf ...and /srv/container being the mountpoint of the shared storage. * dropping .snap (Ceph) and .snapshot (NetApp), not needed anymore. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding missing bind-ro handling in container create command, thanks to Simon ↵Daniel Baumann2017-05-091-0/+1
| | | | | | Spöhel <simon.spoehel@open-infrastructure.net>. 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-035-7/+103
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding -f, --force option in container auto command.Daniel Baumann2017-01-041-4/+17
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating year in copyright information for 2017.Daniel Baumann2017-01-0412-12/+12
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Handling unreadable container directory properly in container list command.Daniel Baumann2016-12-201-1/+4
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Fixing suffix in nwdiag output in container list command.Daniel Baumann2016-12-131-0/+9
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Enabling pre and post hooks in container commands.Daniel Baumann2016-12-1113-0/+254
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding XML export format to container list command.Daniel Baumann2016-12-111-0/+33
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding YAML export format to container list command.Daniel Baumann2016-12-111-0/+24
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>