Handle case where ip=dhcp
Signed-off-by: David Thurstenson <thurstylark@gmail.com>
This commit is contained in:
parent
ae854ed712
commit
3fec501225
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue