void-packages/srcpkgs/GCP-Guest-Environment/files/GCP-clock-skew/run

10 lines
162 B
Bash

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