diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-03-28 14:47:19 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-03-28 14:47:19 -0400 |
commit | bf88c6ef54608f4488fca806b5f30afad08d6c51 (patch) | |
tree | 0506919687da16c313247d38679b1c1370d9f269 /tox.ini | |
parent | 18bf614ca1d9fbabdf83495e7675a2cacaf6c2f4 (diff) | |
download | vyos-cloud-init-bf88c6ef54608f4488fca806b5f30afad08d6c51.tar.gz vyos-cloud-init-bf88c6ef54608f4488fca806b5f30afad08d6c51.zip |
improve how cloud-init-wait waits
since we run from a udev event, this is sufficient.
udev settle will exit when either of
a.) the file exists
b.) the udev event queue has all been processed.
Since cloud-init-wait is being run as a udev event, 'b' cannot
be satisfied until it finishes. Thus, this essentially becomes a
inotify based wait for the file /run/cloud-init/network-config-ready
and no loops are needed.
Diffstat (limited to 'tox.ini')
0 files changed, 0 insertions, 0 deletions