2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-29 04:50:21 +00:00

Actually write out dhcp conf in initquee

dhcp was not written out during initqueue phase
This commit is contained in:
Jarrod Johnson 2020-04-27 16:08:05 -04:00
parent 68251ffbb8
commit 3437b8b03c

View File

@ -47,7 +47,7 @@ export root
autoconfigmethod=$(grep ipv4_method /tmp/confluent.deploycfg)
autoconfigmethod=${autoconfigmethod#ipv4_method: }
if [ "$autoconfigmethod" = "dhcp" ]; then
echo ip=$ifname:dhcp
echo ip=$ifname:dhcp >> /etc/cmdline.d/01-confluent.conf
else
v4addr=$(grep ^ipv4_address: /tmp/confluent.deploycfg)
v4addr=${v4addr#ipv4_address: }