• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Ansible installation with out defaults

Scheduled Pinned Locked Moved
General
2
3
1.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    juan_c
    last edited by May 8, 2018, 3:28 PM

    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

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by May 8, 2018, 4:06 PM

      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.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

      J 1 Reply Last reply May 9, 2018, 3:53 PM Reply Quote 2
      • J
        juan_c @george1421
        last edited by May 9, 2018, 3:53 PM

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

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          3/3
          Last post

        199

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project