diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-03-20 22:31:21 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-03-20 22:31:21 -0400 |
commit | 16751f75a51814e4873199eddec15040dd221561 (patch) | |
tree | 32665c4e809c6a2b6e8c4a567ba77f03edd4bbd7 /udev | |
parent | 5d1d36f617f9ce342930a78183a13877b5a619cd (diff) | |
download | vyos-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-x | udev/cloud-init-wait | 4 |
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; } |