blob: 5e947ecd84e24e2d6f101c34a89682d55c2e6dcd [file] [log] [blame]
Ray Milkey922db302018-04-02 08:54:51 -07001#!/bin/bash
2
3remote=$ONOS_USER@$OCN
4
5ssh -t $remote "
6
7 set -euxo pipefail
8
9 sudo killall -9 dhclient || true
10 sudo killall -9 zebra || true
11 sudo killall -9 bgpd || true
12 sudo killall -9 dhcpd || true
13 sudo killall -9 screen || true
14
15 # Preconfigure isc-dhcp-relay for headless install
16 echo isc-dhcp-relay isc-dhcp-relay/interfaces string "" | sudo debconf-set-selections
17 echo isc-dhcp-relay isc-dhcp-relay/options string "" | sudo debconf-set-selections
18 echo isc-dhcp-relay isc-dhcp-relay/servers string "" | sudo debconf-set-selections
Ray Milkey922db302018-04-02 08:54:51 -070019"