summaryrefslogtreecommitdiffstats
path: root/libexec/container (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-06-05Automatically restoring previous state after reboot by using ↵Daniel Baumann3-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>
2022-06-05Tracking container state in run files in /var/lib/compute-tools.Daniel Baumann2-0/+6
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2022-06-05Renaming force option in container stop command to kill in order to properly ↵Daniel Baumann3-5/+18
separate the three different stop modi (interactive, force, kill). Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2022-06-05Adding default interactive mode for container stop command.Daniel Baumann1-3/+27
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2022-06-05Using variables in directory paths in container key command.Daniel Baumann1-4/+4
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2022-05-22Fixing copy&paste mistake in systemd-network run-files handling.Daniel Baumann1-7/+0
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2022-05-08Correcting off-by-one error when warning about too long veth interface names ↵Daniel Baumann1-2/+2
in container start commend. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2022-05-05Supporting both ifupdown and systemd-networkd for the time being, depending ↵Daniel Baumann2-4/+50
on the existence of /etc/network/interfaces. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2022-05-05Showing all IP address for stopped containers in container list command.Daniel Baumann1-2/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2022-05-01Updating copyright notices for 2022.Daniel Baumann19-19/+19
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2022-05-01Adding container rebuild command.Daniel Baumann1-0/+152
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2022-04-30Listing all IP addresses in container list command.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2022-04-30Actually passing through SSH_CLIENT variable to enable powerline-prompt in ↵Daniel Baumann1-1/+1
container enter command. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2022-04-28Using systemd-networkd to manage veth interfaces on host.Simon Spöhel2-8/+11
Signed-off-by: Simon Spöhel <simon@spoehel.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-12-12Making name argument mandatory in container update command.Daniel Baumann1-0/+5
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-12-10Adding interactive option to container update command to ease skipping ↵Daniel Baumann1-3/+51
containers. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-11-16Passing fix-missing to apt upgrade in container update command.Daniel Baumann1-2/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-11-16Adding complete debconf envars in container update command.Daniel Baumann1-2/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-11-16Adding notificiations for autoremovals in container update command.Daniel Baumann1-1/+14
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-11-16Refactoring notification in container update command.Daniel Baumann1-35/+45
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-11-16Updating notifications in container update command.Daniel Baumann1-2/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-11-16Making container update command work entirely non-interactive.Daniel Baumann1-2/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-11-16Adding comment about using grep to de-colorize apt messages in container ↵Daniel Baumann1-0/+1
update command. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-11-15Adding notification handling in container update command.Daniel Baumann1-0/+34
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-11-15Preparing update notifications handling in container update command.Daniel Baumann1-4/+15
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-11-15Speeding up full-upgrades in container update command by removing redundant ↵Daniel Baumann1-2/+4
upgrade step. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-11-13Replacing individual needrestart overrides by globally blacklisting ↵Daniel Baumann2-7/+0
container-tools service units. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-11-03Enabling automatic needrestart blacklisting for containers.Daniel Baumann2-0/+7
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-07-30Harmonizing parameter and usage in container build command.Daniel Baumann1-2/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-07-27Harmonizing usage messages over all container commands with manpage references.Daniel Baumann19-0/+57
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-07-27Fixing full-upgrade option in container update command.Daniel Baumann1-2/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-07-27Adding container update command.Daniel Baumann1-0/+143
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-07-26Support fetching local keys from keyring library in container key command.Daniel Baumann1-0/+6
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-07-26Support fetching remote keys from keyserver in container key command.Daniel Baumann1-2/+7
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-07-26Speeding up container list command by optimizing IP address gathering.Daniel Baumann1-1/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-07-26Speeding up container list command by not gathering IP addresses for output ↵Daniel Baumann1-1/+9
format that don't need it. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-07-26Updating default keyserver for container key command.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-07-26Adding container get command.Daniel Baumann1-0/+284
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-07-26Renaming container create command to container build.Daniel Baumann1-5/+5
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-07-26Adding check for writable gpg directory in container key command.Daniel Baumann1-0/+9
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-07-20Also removing lock file when force-stopping a container.Daniel Baumann1-0/+2
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-06-30Reverting openvswitch, not really ready yet.Daniel Baumann2-38/+36
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-06-29Using openvswitch instead of linux bridges.Simon Spöhel2-36/+38
Signed-off-by: Simon Spöhel <simon@spoehel.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-06-29Adding initial container info command.Daniel Baumann1-0/+214
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-06-06Using cnt run to determine IP addresses in container list.Daniel Baumann1-8/+17
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-06-06Allowing to specify cnt.start=force in container config to ease fencing with ↵Daniel Baumann2-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>
2021-04-11Using https instead of http in all comments.Daniel Baumann17-17/+17
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-04-11Adding hook support to container log command for consistency.Daniel Baumann1-0/+20
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-04-11Using /var/log/compute-tools instead of /var/log/open-infrastructure.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-04-11Using /usr/share/compute-tools instead of ↵Daniel Baumann2-3/+3
/usr/share/open-infrastructure/container. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>