You can add these to /etc/foreman/settings.yaml and that'll take
precedence over the web UI, e.g.
:safemode_render: false
Or you can use a little script at
/usr/share/foreman/script/foreman-config which does pretty much what
Lukas recommended.
···
On 28/04/14 09:25, Petr Ruzicka wrote:
> Hello.
>
> May I ask how to change the following Foreman setting using command line?
>
> Administer -> Settings -> safemode_render -> false
>
> I'm able to do it easily through the web interface, but is there a way
> how to do it using command line?
which is the Lukas recommended way… but it's good to know both ways.
Thanks
PetrR
···
On Monday, 28 April 2014 10:59:51 UTC+2, Dominic Cleal wrote:
>
> On 28/04/14 09:25, Petr Ruzicka wrote:
> > Hello.
> >
> > May I ask how to change the following Foreman setting using command
> line?
> >
> > Administer -> Settings -> safemode_render -> false
> >
> > I'm able to do it easily through the web interface, but is there a way
> > how to do it using command line?
>
> You can add these to /etc/foreman/settings.yaml and that'll take
> precedence over the web UI, e.g.
>
> :safemode_render: false
>
> Or you can use a little script at
> /usr/share/foreman/script/foreman-config which does pretty much what
> Lukas recommended.
>
> --
> Dominic Cleal
> Red Hat Engineering
>
which is the Lukas recommended way… but it’s good to know both ways.
Thanks
PetrR
On Monday, 28 April 2014 10:59:51 UTC+2, Dominic Cleal wrote:
On 28/04/14 09:25, Petr Ruzicka wrote:
> Hello.
>
> May I ask how to change the following Foreman setting using
command line?
>
> Administer -> Settings -> safemode_render -> false
>
> I'm able to do it easily through the web interface, but is there
a way
> how to do it using command line?
You can add these to /etc/foreman/settings.yaml and that'll take
precedence over the web UI, e.g.
:safemode_render: false
Or you can use a little script at
/usr/share/foreman/script/foreman-config which does pretty much what
Lukas recommended.
--
Dominic Cleal
Red Hat Engineering