1
0
Fork 0
mirror of https://codeberg.org/Mo8it/server_dotfiles.git synced 2024-09-17 18:51:17 +00:00

Set local timezone

This commit is contained in:
Mo 2022-08-02 14:38:20 +02:00
parent cc9f8df73f
commit ae77adf1ed

View file

@ -5,6 +5,10 @@ set -p PATH "$HOME/.cargo/bin"
function podman-default-create -w podman
set -l container_name $argv[1]
if systemctl --user is-enabled container-$container_name
systemctl --user disable --now container-$container_name
end
if podman container exists $container_name
podman stop $container_name
end
@ -12,6 +16,7 @@ function podman-default-create -w podman
podman create \
--name $container_name \
--label "io.containers.autoupdate=registry" \
--tz local \
$argv[2..]
set -l old_pwd (pwd)