blob: 5e947ecd84e24e2d6f101c34a89682d55c2e6dcd [file] [log] [blame]
#!/bin/bash
remote=$ONOS_USER@$OCN
ssh -t $remote "
set -euxo pipefail
sudo killall -9 dhclient || true
sudo killall -9 zebra || true
sudo killall -9 bgpd || true
sudo killall -9 dhcpd || true
sudo killall -9 screen || true
# Preconfigure isc-dhcp-relay for headless install
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
"