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

    Ansible installation with out defaults

    Scheduled Pinned Locked Moved
    General
    2
    3
    1.2k
    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

      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
      • george1421G
        george1421 Moderator
        last edited by

        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 Reply Quote 2
        • J
          juan_c @george1421
          last edited by

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

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

          154

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project