Hi Andres,

Debconf options for testing are set via:

debconf-set-selections <<< "dbconfig-common 
dbconfig-common/pgsql/authmethod-admin select password"
debconf-set-selections <<< "dbconfig-common dbconfig-common/pgsql/app-pass 
password <password-here>"
debconf-set-selections <<< "dbconfig-common dbconfig-common/remote/host select 
newhost"
debconf-set-selections <<< "dbconfig-common dbconfig-common/remote/newhost 
string 1.2.3.4"
debconf-set-selections <<< "dbconfig-common dbconfig-common/remote/port string 
5432"

debconf-set-selections <<< "maas-region-controller 
maas-region-controller/pgsql/admin-pass password <password-here>"
debconf-set-selections <<< "maas-region-controller 
maas-region-controller/pgsql/authmethod-admin select password"
debconf-set-selections <<< "maas-region-controller 
maas-region-controller/pgsql/admin-user string massadmin"
debconf-set-selections <<< "maas-region-controller 
maas-region-controller/pgsql/app-pass password <password-here>"
debconf-set-selections <<< "maas-region-controller 
maas-region-controller/remote/host select newhost"
debconf-set-selections <<< "maas-region-controller 
maas-region-controller/remote/newhost string 1.2.3.4"
debconf-set-selections <<< "maas-region-controller 
maas-rack-controller/maas-url string http://1.2.3.5:5240/MAAS";
debconf-set-selections <<< "maas-common maas-rack-controller/shared-secret 
string generate-secret"

apt install -y maas-region-controller


Regards,

Dan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1663324

Title:
  Maas Region Controller fails to install using external postgres via
  debconf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1663324/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to