Skip to content

Commit

Permalink
Configure dhcp than start
Browse files Browse the repository at this point in the history
  • Loading branch information
dchirikov committed Jul 26, 2016
1 parent 24c203b commit 8809eea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions configuration/controller/luna.sh
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,14 @@ echo_info "Initialize luna."
/usr/sbin/luna cluster change --frontend_address ${LUNA_FRONTEND}
/usr/sbin/luna network add -n ${LUNA_NETWORK_NAME} -N ${LUNA_NETWORK} -P ${LUNA_PREFIX}

echo_info "Configure DNS and DHCP."

/usr/sbin/luna cluster makedhcp -N ${LUNA_NETWORK_NAME} -s ${LUNA_DHCP_RANGE_START} -e ${LUNA_DHCP_RANGE_END}
/usr/sbin/luna cluster makedns

echo_info "Start services."

for service in xinetd nginx dhcpd lweb ltorrent; do
systemctl enable $service
systemctl start $service
done

echo_info "Configure DNS and DHCP."

/usr/sbin/luna cluster makedhcp -N ${LUNA_NETWORK_NAME} -s ${LUNA_DHCP_RANGE_START} -e ${LUNA_DHCP_RANGE_END}
/usr/sbin/luna cluster makedns

0 comments on commit 8809eea

Please sign in to comment.