Remove internet login to be rewritten in Rust

This commit is contained in:
Mo 2023-08-27 23:58:48 +02:00
parent 48de8efff9
commit d0b7e7e33a

View file

@ -1,19 +0,0 @@
#!/usr/bin/env fish
set -l container_name internet-login
set -l container_volumes_dir ~/volumes/$container_name
buildah rm builder &>/dev/null
buildah from --pull --name builder registry.fedoraproject.org/fedora:latest
buildah run builder -- dnf upgrade -y
buildah run builder -- dnf install -y iputils
buildah run builder -- dnf autoremove -y
buildah run builder -- dnf clean all
buildah commit --rm builder $container_name
podman-default-create \
$container_name \
-v $container_volumes_dir:/volumes/script:Z,ro \
localhost/$container_name:latest \
/volumes/script/login.sh monitor