Ansible installation with out defaults
I want to install fog with an Ansible role. I use the
installfog.sh -y -Uoption but it sets the default options.
I do not want DHCP and I need to use a different interface.
Is it possible to just change the
/opt/fog/.fogsettingsafter installation and restart the fog server?. Does something must be changed on the sql data base?
@george1421 Thanks, this seems to work but with
installfog.sh -y(without the -U option).
You have the process backwards.
Create a .fogsettings file with your desired settings then run the installer script. You may have to do some scripting to get the right values in place. But fog will use that .fogsettings file as a seed file if it exists when the installer script starts.
I can say I have not tried to deploy fog this way, but I know on an upgrade the install script uses this file to know what the user picked when FOG was originally installed. You should be able to us that info to your advantage.