Moved DHCP server installation to the build phase of the
deployment to eliminate the problem of it going
down sometimes.
Change-Id: I7a5db7aacb57600fe14b1cae9d10caab1593b24e
Issue-ID: INT-63
Signed-off-by: Srivahni <srivahni.chivukula@intel.com>
# Install the tools required for download codes
apt-get --allow-unauthenticated install -y expect git make linux-image-extra-`uname -r`
+ #Install DHCP server
+ apt-get install -y isc-dhcp-server
+
#Download and build the VPP codes
cd /opt
git clone ${VPP_SOURCE_REPO_URL} -b ${VPP_SOURCE_REPO_BRANCH} vpp
EOF
systemctl enable /etc/systemd/system/honeycomb.service
- # Install the DHCP server and config
- apt-get install -y isc-dhcp-server
+ # DHCP server config
cat >> /etc/dhcp/dhcpd.conf << EOF
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.253;