Comment 8 for bug 1553757

Revision history for this message
Paul Gevers (paul-climbing) wrote : Re: [Bug 1553757] Re: dbconfig-common: writing config to /etc/dbconfig-common/maas-region-controller.conf stat: cannot stat '/etc/dbconfig-common/maas-region-controller.conf': No such file or directory

Hi Andres,

On 08-03-16 04:38, Andres Rodriguez wrote:
> So the reason we did this is because we wanted MAAS to be installed and we
> didn't want any question to be asked, so we decided to do the preseeding.

I recommend that you try to use dbc_prio_high=medium instead of your
current code. By default only questions with prio=high are asked, so I
think that the default behavior will be that dbconfig-common is run as
you desire, without removing the possibility by the admin to configure
otherwise. Also the default "remote-host" is localhost. You would also
need way less code to "work around" dbconfig-common "limitations".

> The registration piece is something that I found in another package, but
> allowed MAAS to register the preseed options, otherwise this would have
> failed!

My point is that is looks like you are registering the wrong question
for your template, aren't you? Or am I mistaken here/

Paul