mirror of https://github.com/apache/cloudstack.git
cloud-early-config: load-modules
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
f7a4d145a6
commit
c19ec86c17
|
|
@ -1094,6 +1094,7 @@ setup_dhcpsrvr() {
|
|||
|
||||
cp /etc/iptables/iptables-router /etc/iptables/rules.v4
|
||||
cp /etc/iptables/iptables-router /etc/iptables/rules
|
||||
load_modules
|
||||
|
||||
#Only allow DNS service for current network
|
||||
sed -i "s/-A INPUT -i eth0 -p udp -m udp --dport 53 -j ACCEPT/-A INPUT -i eth0 -p udp -m udp --dport 53 -s $DHCP_RANGE\/$CIDR_SIZE -j ACCEPT/g" /etc/iptables/rules.v4
|
||||
|
|
|
|||
Loading…
Reference in New Issue