blob: 03dc23d2817820ffab2e0c5e9c00a4ea8b05208f [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
Andrea Campanella4f9085e2018-05-29 12:04:16 +020019"