let dhcp work
This commit is contained in:
parent
f5a76919b3
commit
a628262344
1 changed files with 5 additions and 1 deletions
|
@ -93,7 +93,11 @@ cat > $NET_XML <<EOF
|
||||||
<name>devstack-$GUEST_NETWORK</name>
|
<name>devstack-$GUEST_NETWORK</name>
|
||||||
<bridge name="stackbr%d" />
|
<bridge name="stackbr%d" />
|
||||||
<forward/>
|
<forward/>
|
||||||
<ip address="$GUEST_GATEWAY" netmask="$GUEST_NETMASK" />
|
<ip address="$GUEST_GATEWAY" netmask="$GUEST_NETMASK">
|
||||||
|
<dhcp>
|
||||||
|
<range start='192.168.$GUEST_NETWORK.2' end='192.168.$GUEST_NETWORK.32' />
|
||||||
|
</dhcp>
|
||||||
|
</ip>
|
||||||
</network>
|
</network>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue