summaryrefslogtreecommitdiffstats
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Adding one more awk optimizations in container stop command.Daniel Baumann2020-10-301-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding awk optimizations in configuration file handling.Katharina Drexel2020-10-308-39/+39
| | | | Signed-off-by: Katharina Drexel <katharina.drexel@bfh.ch>
* Adding overlay options to container start command.Katharina Drexel2020-10-301-1/+11
| | | | | Signed-off-by: Katharina Drexel <katharina.drexel@bfh.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding overlay options to container create command.Katharina Drexel2020-10-301-2/+8
| | | | | Signed-off-by: Katharina Drexel <katharina.drexel@bfh.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding missing colon in container create commands '--script' option.Daniel Baumann2020-09-221-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Correcting wrong usages of new and old container names in container move ↵Daniel Baumann2020-09-221-4/+4
| | | | | | command, thanks to Katharina Drexel <katharina.drexel@bfh.ch> for discovering it. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Fixing one more occurence of wrong tr usage in container move command.Daniel Baumann2020-08-281-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Fixing 'cnt remove' error when executed in directory ↵Katharina Drexel2020-08-281-1/+1
| | | | | | | /usr/lib/open-infrastructure/container. Signed-off-by: Katharina Drexel <katharina.drexel@bfh.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding run comment in version command.Daniel Baumann2020-04-281-0/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Correcting call of post hooks in container start program to make them ↵Daniel Baumann2020-03-081-9/+9
| | | | | | actually work, thanks to Simon Spoehel <simon@spoehel.ch>. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating copyright notices for 2020.Daniel Baumann2020-01-2115-15/+15
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding verbose option for container start command.Daniel Baumann2020-01-161-2/+6
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding default hook to unlink console prior start when bindmounting /dev ↵Daniel Baumann2019-11-041-0/+3
| | | | | | (e.g. in GPU computing cases). Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Tightening Address lookup in container list command for systemd-networkd to ↵Daniel Baumann2019-09-191-1/+1
| | | | | | not display MACAdresses instead of IPs. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Fixing a bug where only the last item in lists passed via CLI was evaluated.Simon Spöhel2019-08-111-9/+9
| | | | | Signed-off-by: Simon Spöhel <simon@spoehel.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Fixing a bug where directories were not created for --bind-ro.Simon Spöhel2019-08-111-1/+1
| | | | | Signed-off-by: Simon Spöhel <simon@spoehel.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing stray veth links when stopping containers with force.Daniel Baumann2019-08-111-0/+11
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing stray veth links when starting containers with force.Daniel Baumann2019-08-111-0/+7
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing explicit protocol for IP adresses in container list command.Daniel Baumann2019-04-121-5/+5
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using C.UTF-8 in container enter command as fallback locale.Daniel Baumann2019-03-091-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Readding limit command.Daniel Baumann2019-03-022-10/+294
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Readding key command.Daniel Baumann2019-03-021-0/+152
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Removing a few fixmes that are not needed anymore.Daniel Baumann2019-03-022-3/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* 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>