summaryrefslogtreecommitdiffstats
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Adding nwdiag export format to container list command.Daniel Baumann2016-12-111-2/+85
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding JSON export format to container list command.Daniel Baumann2016-12-111-0/+36
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding CSV export format to container list command.Daniel Baumann2016-12-111-2/+24
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing half-finished multi-address handling in container list command.Daniel Baumann2016-12-111-20/+6
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Renaming short format in container list command to shell for consistency.Daniel Baumann2016-12-111-7/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Renaming full format in container list command to cli for consistency.Daniel Baumann2016-12-111-4/+4
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Sorting format code in container list command.Daniel Baumann2016-12-111-4/+4
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding trailing line in full format for container list command.Daniel Baumann2016-12-111-0/+13
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Renaming internal show function in container list command for consistency.Daniel Baumann2016-12-111-23/+23
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Completing usage message in container list command.Daniel Baumann2016-12-111-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Tidying container move comments.Daniel Baumann2016-12-111-2/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Tidying container move interactive question.Daniel Baumann2016-12-111-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Renaming container rename command to move for consistency.Daniel Baumann2016-12-111-0/+0
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Renaming too generic internal getopt variables to avoid possible collisions ↵Daniel Baumann2016-11-2512-36/+36
| | | | | | in the future. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Fail to find container in remove command only when both the rootfs and the ↵Daniel Baumann2016-11-121-1/+1
| | | | | | config are gone already. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using fallback to ifupdown addresses in container list command for container ↵Daniel Baumann2016-11-121-0/+3
| | | | | | not using networkd yet. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Avoid repeating ipv4 address of the previous container in container list ↵Daniel Baumann2016-11-121-0/+2
| | | | | | command. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating container list command to use systemd-networkd config instead of ↵Daniel Baumann2016-11-061-2/+2
| | | | | | ifupdown. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Readding container enter command.Daniel Baumann2016-11-061-0/+102
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Readding container limit command.Daniel Baumann2016-11-061-0/+186
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Readding -f|--force option in container stop command.Daniel Baumann2016-11-061-3/+17
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Readding container rename command.Daniel Baumann2016-11-061-0/+162
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing container rename command for LTS version.Daniel Baumann2016-10-251-162/+0
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing -f|--force option in container stop command for LTS version.Daniel Baumann2016-10-251-17/+3
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing container limit command for LTS version.Daniel Baumann2016-10-251-186/+0
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing container enter command for LTS version.Daniel Baumann2016-10-251-102/+0
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding -v, --verbose option to container remove command.Daniel Baumann2016-08-041-5/+20
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding support for user namespace.Daniel Baumann2016-08-042-0/+13
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Sorting container configuration file.Daniel Baumann2016-08-042-13/+13
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Calling container-nsenter program from container enter command.Daniel Baumann2016-08-041-3/+9
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>