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

    Unattend install of Fog

    Scheduled Pinned Locked Moved Solved
    General
    4
    8
    2.5k
    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.
    • B
      Bob Henderson
      last edited by

      I’ve been on a kick to ansible all of my server roles/configs to make my entire environment pretty quick and easy to deploy. FOG is one that is being a bit of a stickler, however.

      is there a way to pass variable or a configuration to the fog installfog.sh script, allowing me to automate it out to a key? Or should I look into building a wrapper around it and using expect to push info from a variable file?

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        I guess I don’t fully understand.

        If you’re running the RC’s, the install argument -y will do the trick for you.

        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        x23piracyX 1 Reply Last reply Reply Quote 2
        • B
          Bob Henderson
          last edited by

          @Tom-Elliott said in Unattend install of Fog:

          I guess I don’t fully understand.

          If you’re running the RC’s, the install argument -y will do the trick for you.

          Ah, perfect. That’s exactly what I was looking for, a way for it not to ask me things afterwards and just accept all the defaults.

          Now I can put this into an ansible playbook, and be able to spin up a copy of the infrastructure super quick. Thanks!

          1 Reply Last reply Reply Quote 0
          • x23piracyX
            x23piracy @Tom Elliott
            last edited by

            @Tom-Elliott said in Unattend install of Fog:

            If you’re running the RC’s, the install argument -y will do the trick for you.

            Tom will this also do the db schema update if there is one?

            ║▌║█║▌│║▌║▌█

            Tom ElliottT Wayne WorkmanW 2 Replies Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @x23piracy
              last edited by

              @x23piracy Yes.

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 1
              • Wayne WorkmanW
                Wayne Workman @x23piracy
                last edited by Wayne Workman

                @x23piracy As of right now, the only thing that -y won’t do (that I think it should do) is remove answer “yes” to broken/old packages from Ubuntu in order for FOG to install. @Tom-Elliott, if the user is already specifying “YES”, I don’t see why an extra question should be asked. This also breaks automated update scripts that people have developed for Ubuntu.

                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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                Tom ElliottT 1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @Wayne Workman
                  last edited by

                  @Wayne-Workman That is already the case.

                  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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @Tom Elliott
                    last edited by

                    @Tom-Elliott Oh, I somehow missed that. Nevermind then. -y does it all.

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

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

                    181

                    Online

                    12.1k

                    Users

                    17.3k

                    Topics

                    155.3k

                    Posts
                    Copyright © 2012-2024 FOG Project