summaryrefslogtreecommitdiffstats
path: root/lib/container (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-10-13Removing some dead code in network-veth-extra handling.Daniel Baumann2-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>
2017-10-13Using iproute instead of bridge-utils to setup bridges.Daniel Baumann1-2/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-10-13Using iproute instead of net-tools to setup interfaces.Daniel Baumann1-4/+4
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-10-06Using linux as fallback TERM in container list command.Daniel Baumann1-0/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-23Adding container key command.Daniel Baumann1-0/+149
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-22Adding interface max length check in container start command.Daniel Baumann1-0/+10
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-22Fixing spelling typo in 'bandwidth'.Simon Spöhel2-18/+18
Signed-off-by: Simon Spöhel <simon.spoehel@open-infrastructure.net> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-07-01Avoid removing top-level directories when cleaning up bind mounts in ↵Daniel Baumann2-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>
2017-06-30Correcting boolean typo when checking for existence of new container in ↵Daniel Baumann1-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>
2017-06-29Allow cnt.auto=force-true to enforce startup of a locked container at system ↵Daniel Baumann1-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>
2017-06-29Adjusting container list outout for container top command.Daniel Baumann1-2/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-06-29Adding new container top command.Daniel Baumann1-0/+113
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-06-29Using more systemd-ish status symbols in container list command.Daniel Baumann1-2/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-06-29Executing auto commands only when cnt.auto=true and cnt.container-server ↵Daniel Baumann1-1/+1
matches the current hostname. 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 Baumann3-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>
2017-05-10Correcting bind-ro option handling to actually work.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-05-09Updating list of excluded directory names in container list command.Daniel Baumann1-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>
2017-05-09Adding missing bind-ro handling in container create command, thanks to Simon ↵Daniel Baumann1-0/+1
Spöhel <simon.spoehel@open-infrastructure.net>. 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 Baumann5-7/+103
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-01-04Adding -f, --force option in container auto command.Daniel Baumann1-4/+17
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-01-04Updating year in copyright information for 2017.Daniel Baumann12-12/+12
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-20Handling unreadable container directory properly in container list command.Daniel Baumann1-1/+4
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-13Fixing suffix in nwdiag output in container list command.Daniel Baumann1-0/+9
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Enabling pre and post hooks in container commands.Daniel Baumann13-0/+254
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Adding XML export format to container list command.Daniel Baumann1-0/+33
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Adding YAML export format to container list command.Daniel Baumann1-0/+24
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Adding nwdiag export format to container list command.Daniel Baumann1-2/+85
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Adding JSON export format to container list command.Daniel Baumann1-0/+36
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Adding CSV export format to container list command.Daniel Baumann1-2/+24
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Removing half-finished multi-address handling in container list command.Daniel Baumann1-20/+6
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Renaming short format in container list command to shell for consistency.Daniel Baumann1-7/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Renaming full format in container list command to cli for consistency.Daniel Baumann1-4/+4
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Sorting format code in container list command.Daniel Baumann1-4/+4
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Adding trailing line in full format for container list command.Daniel Baumann1-0/+13
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Renaming internal show function in container list command for consistency.Daniel Baumann1-23/+23
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Completing usage message in container list command.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Tidying container move comments.Daniel Baumann1-2/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Tidying container move interactive question.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-12-11Renaming container rename command to move for consistency.Daniel Baumann1-0/+0
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-11-25Renaming too generic internal getopt variables to avoid possible collisions ↵Daniel Baumann12-36/+36
in the future. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-11-12Fail to find container in remove command only when both the rootfs and the ↵Daniel Baumann1-1/+1
config are gone already. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-11-12Using fallback to ifupdown addresses in container list command for container ↵Daniel Baumann1-0/+3
not using networkd yet. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-11-12Avoid repeating ipv4 address of the previous container in container list ↵Daniel Baumann1-0/+2
command. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-11-06Updating container list command to use systemd-networkd config instead of ↵Daniel Baumann1-2/+2
ifupdown. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-11-06Readding container enter command.Daniel Baumann1-0/+102
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-11-06Readding container limit command.Daniel Baumann1-0/+186
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-11-06Readding -f|--force option in container stop command.Daniel Baumann1-3/+17
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-11-06Readding container rename command.Daniel Baumann1-0/+162
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-10-25Removing container rename command for LTS version.Daniel Baumann1-162/+0
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2016-10-25Removing -f|--force option in container stop command for LTS version.Daniel Baumann1-17/+3
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>