An ugly workaround is something like:
sqlite3 ~/.maascli.db 'UPDATE profiles SET data = REPLACE(data, "http://192.168.12.19:5240/MAAS", "http://192.168.12.19:80/MAAS") WHERE name = "admin";'
An ugly workaround is something like:
sqlite3 ~/.maascli.db 'UPDATE profiles SET data = REPLACE(data, "http:// 192.168. 12.19:5240/ MAAS", "http:// 192.168. 12.19:80/ MAAS") WHERE name = "admin";'