Skip to content
Snippets Groups Projects
Commit 8afbf3d5 authored by David Thurstenson's avatar David Thurstenson Committed by Gerardo Pozzi
Browse files

Handle case where ip=dhcp

parent a914269e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment