mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-09 06:21:03 +02:00
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:
commit
48cb8a1c74
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user