Merge pull request #792 from petrhosek/oem-cloudstack-networkd-leases-fix

fix(coreos-base/oem-cloudstack): fix DHCP server resolution
This commit is contained in:
Michael Marineau 2014-08-15 10:34:10 -07:00
commit 48cb8a1c74
2 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
get_dhcp_ip() {
local leases_dir="/run/systemd/network/leases"
local leases_dir="/run/systemd/netif/leases"
while true; do
if [[ "$(find "${leases_dir}" -type f -size +1c)" ]]; then
break