void-packages/srcpkgs/GCP-Guest-Environment/files/GCP-accounts/run
Alberto Pau c3c3fb5c3a GCP-Guest-Environment: redirect sv check to /dev/null
Avoid spamming the tty/serial with sv messages.
The stdout for this command is not needed as it is used programmatically with the exit status
2019-11-16 12:49:26 +01:00

9 lines
171 B
Bash

#!/bin/sh
sv check GCP-Guest-Initialization >/dev/null || exit 1
while ! ping -c1 metadata.google.internal >/dev/null ; do
sleep 5
done
exec google_accounts_daemon