summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-20 22:31:21 -0400
committerScott Moser <smoser@ubuntu.com>2016-03-20 22:31:21 -0400
commit16751f75a51814e4873199eddec15040dd221561 (patch)
tree32665c4e809c6a2b6e8c4a567ba77f03edd4bbd7 /udev
parent5d1d36f617f9ce342930a78183a13877b5a619cd (diff)
downloadvyos-cloud-init-16751f75a51814e4873199eddec15040dd221561.tar.gz
vyos-cloud-init-16751f75a51814e4873199eddec15040dd221561.zip
fix creation of network-config-ready and dont bother waiting on lo
Diffstat (limited to 'udev')
-rwxr-xr-xudev/cloud-init-wait4
1 files changed, 4 insertions, 0 deletions
diff --git a/udev/cloud-init-wait b/udev/cloud-init-wait
index f27309e3..7d53dee4 100755
--- a/udev/cloud-init-wait
+++ b/udev/cloud-init-wait
@@ -52,6 +52,10 @@ main() {
return 0
fi
+ if [ "${INTERFACE#lo}" != "$INTERFACE" ]; then
+ return 0
+ fi
+
block_until_ready "$readyfile" .1 600 ||
{ log "failed waiting for ready on $INTERFACE"; return 1; }