Ansible installation with out defaults



  • Hi,

    I want to install fog with an Ansible role. I use the installfog.sh -y -U option 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/.fogsettings after installation and restart the fog server?. Does something must be changed on the sql data base?

    Thanks

    Juan



  • @george1421 Thanks, this seems to work but with installfog.sh -y (without the -U option).


  • Moderator

    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.


 

581
Online

5.4k
Users

12.6k
Topics

118.8k
Posts