summaryrefslogtreecommitdiffstats
path: root/libexec/container (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Automatically restoring previous state after reboot by using ↵Daniel Baumann2022-06-053-18/+60
| | | | | | last-on/last-off config options, thanks to Sakirnth Nagarasa <sakirnth@gmail.com> for the use-case and idea. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Tracking container state in run files in /var/lib/compute-tools.Daniel Baumann2022-06-052-0/+6
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Renaming force option in container stop command to kill in order to properly ↵Daniel Baumann2022-06-053-5/+18
| | | | | | separate the three different stop modi (interactive, force, kill). Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding default interactive mode for container stop command.Daniel Baumann2022-06-051-3/+27
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using variables in directory paths in container key command.Daniel Baumann2022-06-051-4/+4
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Fixing copy&paste mistake in systemd-network run-files handling.Daniel Baumann2022-05-221-7/+0
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Correcting off-by-one error when warning about too long veth interface names ↵Daniel Baumann2022-05-081-2/+2
| | | | | | in container start commend. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Supporting both ifupdown and systemd-networkd for the time being, depending ↵Daniel Baumann2022-05-052-4/+50
| | | | | | on the existence of /etc/network/interfaces. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Showing all IP address for stopped containers in container list command.Daniel Baumann2022-05-051-2/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating copyright notices for 2022.Daniel Baumann2022-05-0119-19/+19
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding container rebuild command.Daniel Baumann2022-05-011-0/+152
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Listing all IP addresses in container list command.Daniel Baumann2022-04-301-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Actually passing through SSH_CLIENT variable to enable powerline-prompt in ↵Daniel Baumann2022-04-301-1/+1
| | | | | | container enter command. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using systemd-networkd to manage veth interfaces on host.Simon Spöhel2022-04-282-8/+11
| | | | | Signed-off-by: Simon Spöhel <simon@spoehel.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Making name argument mandatory in container update command.Daniel Baumann2021-12-121-0/+5
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding interactive option to container update command to ease skipping ↵Daniel Baumann2021-12-101-3/+51
| | | | | | containers. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Passing fix-missing to apt upgrade in container update command.Daniel Baumann2021-11-161-2/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding complete debconf envars in container update command.Daniel Baumann2021-11-161-2/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding notificiations for autoremovals in container update command.Daniel Baumann2021-11-161-1/+14
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Refactoring notification in container update command.Daniel Baumann2021-11-161-35/+45
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating notifications in container update command.Daniel Baumann2021-11-161-2/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Making container update command work entirely non-interactive.Daniel Baumann2021-11-161-2/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding comment about using grep to de-colorize apt messages in container ↵Daniel Baumann2021-11-161-0/+1
| | | | | | update command. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding notification handling in container update command.Daniel Baumann2021-11-151-0/+34
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Preparing update notifications handling in container update command.Daniel Baumann2021-11-151-4/+15
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Speeding up full-upgrades in container update command by removing redundant ↵Daniel Baumann2021-11-151-2/+4
| | | | | | upgrade step. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Replacing individual needrestart overrides by globally blacklisting ↵Daniel Baumann2021-11-132-7/+0
| | | | | | container-tools service units. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Enabling automatic needrestart blacklisting for containers.Daniel Baumann2021-11-032-0/+7
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Harmonizing parameter and usage in container build command.Daniel Baumann2021-07-301-2/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Harmonizing usage messages over all container commands with manpage references.Daniel Baumann2021-07-2719-0/+57
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Fixing full-upgrade option in container update command.Daniel Baumann2021-07-271-2/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding container update command.Daniel Baumann2021-07-271-0/+143
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Support fetching local keys from keyring library in container key command.Daniel Baumann2021-07-261-0/+6
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Support fetching remote keys from keyserver in container key command.Daniel Baumann2021-07-261-2/+7
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Speeding up container list command by optimizing IP address gathering.Daniel Baumann2021-07-261-1/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Speeding up container list command by not gathering IP addresses for output ↵Daniel Baumann2021-07-261-1/+9
| | | | | | format that don't need it. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating default keyserver for container key command.Daniel Baumann2021-07-261-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding container get command.Daniel Baumann2021-07-261-0/+284
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Renaming container create command to container build.Daniel Baumann2021-07-261-5/+5
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding check for writable gpg directory in container key command.Daniel Baumann2021-07-261-0/+9
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Also removing lock file when force-stopping a container.Daniel Baumann2021-07-201-0/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Reverting openvswitch, not really ready yet.Daniel Baumann2021-06-302-38/+36
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using openvswitch instead of linux bridges.Simon Spöhel2021-06-292-36/+38
| | | | | Signed-off-by: Simon Spöhel <simon@spoehel.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding initial container info command.Daniel Baumann2021-06-291-0/+214
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using cnt run to determine IP addresses in container list.Daniel Baumann2021-06-061-8/+17
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Allowing to specify cnt.start=force in container config to ease fencing with ↵Daniel Baumann2021-06-062-2/+14
| | | | | | | | | pacemaker/corosync. This should be generalized as a generic container program behaviour to look at users command line options *and* container configuration files. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using https instead of http in all comments.Daniel Baumann2021-04-1117-17/+17
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding hook support to container log command for consistency.Daniel Baumann2021-04-111-0/+20
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using /var/log/compute-tools instead of /var/log/open-infrastructure.Daniel Baumann2021-04-111-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using /usr/share/compute-tools instead of ↵Daniel Baumann2021-04-112-3/+3
| | | | | | /usr/share/open-infrastructure/container. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>