Handle case where ip=dhcp
Signed-off-by: David Thurstenson <thurstylark@gmail.com>
This commit is contained in:
parent
ae854ed712
commit
3fec501225
@ -22,7 +22,11 @@ run_hook () {
|
||||
break
|
||||
fi
|
||||
done
|
||||
ip="${ip}::${bootif_dev}"
|
||||
if [[ "${ip}" == "dhcp" ]]; then
|
||||
ip=":::::${bootif_dev}:dhcp"
|
||||
else
|
||||
ip="${ip}::${bootif_dev}"
|
||||
fi
|
||||
fi
|
||||
|
||||
# setup network and save some values
|
||||
|
Loading…
Reference in New Issue
Block a user