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
This commit is contained in:
Alberto Pau 2019-11-12 13:01:02 +00:00 committed by Juan RP
parent 82ba4a5e47
commit c3c3fb5c3a
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
# Template file for 'GCP-Guest-Environment'
pkgname=GCP-Guest-Environment
version=20190801
revision=1
revision=2
archs=noarch
wrksrc="compute-image-packages-${version}"
build_wrksrc="packages/python-google-compute-engine"