Ray Milkey | 922db30 | 2018-04-02 08:54:51 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | remote=$ONOS_USER@$OCN |
| 4 | |
| 5 | ssh -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 Campanella | 4f9085e | 2018-05-29 12:04:16 +0200 | [diff] [blame] | 19 | " |