Skip to content

Commit

Permalink
quieter podman commands during setup
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Mar 7, 2024
1 parent 2504a29 commit 80fb553
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ ! -e $CONFIG ]; then
# create a new docker image with the bootstrapped version of your cluster
./bin/spinner "Bootstrapping your hind cluster..." /app/bin/bootstrap.sh
./bin/spinner 'cleanly shutting down' /app/bin/shutdown.sh
./bin/spinner 'committing bootstrapped image' podman commit hind-init hind
./bin/spinner 'committing bootstrapped image' podman commit -q hind-init hind
exit 0
fi

Expand Down
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ podman -v > /dev/null || exit 1
podman run --net=host --privileged --cgroupns=host \
-v /var/lib/containers:/var/lib/containers \
-e FQDN -e HOST_UNAME \
--rm --name hind-init --pull=always "$@" ghcr.io/internetarchive/hind:podman
--rm --name hind-init --pull=always -q "$@" ghcr.io/internetarchive/hind:podman
# xxx :main -- also change GH Pages to build from main branch when merge podman => main
)

Expand All @@ -30,7 +30,7 @@ if [ "$HOST_UNAME" = Darwin ]; then
-v /var/lib/containers:/var/lib/containers \
-v /opt/nomad/data/alloc:/opt/nomad/data/alloc \
-v /pv:/pv \
--restart=always --name hind -d hind >/dev/null
--restart=always --name hind -d -q hind >/dev/null
)
else
(
Expand All @@ -40,7 +40,7 @@ else
-v /var/lib/containers:/var/lib/containers \
-v /opt/nomad/data/alloc:/opt/nomad/data/alloc \
-v /pv:/pv \
--restart=always --name hind -d hind >/dev/null
--restart=always --name hind -d -q hind >/dev/null
)
fi

Expand Down

0 comments on commit 80fb553

Please sign in to comment.