summaryrefslogtreecommitdiff
path: root/upstart/cloud-init-nonet.conf
diff options
context:
space:
mode:
Diffstat (limited to 'upstart/cloud-init-nonet.conf')
-rw-r--r--upstart/cloud-init-nonet.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/upstart/cloud-init-nonet.conf b/upstart/cloud-init-nonet.conf
index 2ac98286..65b120de 100644
--- a/upstart/cloud-init-nonet.conf
+++ b/upstart/cloud-init-nonet.conf
@@ -10,7 +10,7 @@ console output
script
# if a non 'lo' interface is up, exit immediately
- grep -qv '^lo' /var/run/network/ifstate && exit 0
+ grep -qv '^lo' /var/run/network/ifstate >/dev/null 2>&1 && exit 0
[ -f /var/lib/cloud/instance/obj.pkl ] && exit 0
sleep 10