summaryrefslogtreecommitdiffstats
path: root/ci/maas-reconfigure-region.sh
blob: 20ac3e0803138db88a9ee40dd95cdb8f7edbf62e (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/expect
set MAAS_IP [lindex $argv 0]
spawn dpkg-reconfigure maas-region-controller -freadline
expect "Ubuntu MAAS PXE/Provisioning network address:"
send "$MAAS_IP\r"

# done
expect eof