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:
parent
82ba4a5e47
commit
c3c3fb5c3a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue