mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-16 18:02:05 +02:00
quagga is now part of the base image
Change-Id: Id3360860f1b5513c17d443c2f91fe0a24b139d02
This commit is contained in:
parent
5c0a9f0d0a
commit
a6bb73be12
@ -16,26 +16,4 @@ ssh -t $remote "
|
||||
echo isc-dhcp-relay isc-dhcp-relay/interfaces string "" | sudo debconf-set-selections
|
||||
echo isc-dhcp-relay isc-dhcp-relay/options string "" | sudo debconf-set-selections
|
||||
echo isc-dhcp-relay isc-dhcp-relay/servers string "" | sudo debconf-set-selections
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y linux-image-\$(uname -r) gawk texinfo python-pip build-essential iptables isc-dhcp-server isc-dhcp-relay
|
||||
|
||||
# Make sure python dependencies are installed
|
||||
sudo pip install ipaddress configobj
|
||||
|
||||
# Setup quagga
|
||||
# make sure quagga user exists
|
||||
if ! grep -q -E "^quagga" /etc/group ; then
|
||||
sudo groupadd quagga
|
||||
fi
|
||||
if ! id -u quagga > /dev/null 2>&1 ; then
|
||||
sudo useradd -g quagga -s /bin/false quagga
|
||||
fi
|
||||
rm -rf quagga
|
||||
git clone -b onos-1.11 https://gerrit.opencord.org/quagga
|
||||
cd quagga
|
||||
./bootstrap.sh
|
||||
./configure --enable-fpm --sbindir=/usr/lib/quagga
|
||||
make
|
||||
sudo make install
|
||||
cd ..
|
||||
"
|
||||
|
Loading…
x
Reference in New Issue
Block a user