83
83
# Get the MAAS_URL on configure/reconfigure and write it to the conf files.
84
84
db_get maas-cluster-controller/maas-url || true
87
87
# Extract the hostname part.
88
88
HOSTPART=$(echo $RET|awk '{ split($0,array,"/")} END{print array[3] }')
89
89
# And substitute it in-place in pserv.yaml on an indented, non-commented