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

Question about Variables in iPXE Configuration

Scheduled Pinned Locked Moved Solved
FOG Problems
2
8
915
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.
  • G
    Gamienator
    last edited by Gamienator Feb 4, 2019, 2:06 AM Feb 4, 2019, 8:06 AM

    Hello everyone,

    one quick question to you: Are in the iPXE Menu settings more variables available as

    ${fog-ip}
    

    The reason I’m asking is the following. I added some custom entries like the Live Mint boot, but since we have the different location, someone could then start this entry in switzerland and occupie all of our VPN Traffic while it loads all data via NFS. Not the best solution 😇

    To “resolve” this issue I had two ideas: Either I’m creating users for every location and somehow restrict the acces to that menu (if thats possible) or I’m rsync the data to every storage node and edit the bootmenu somehow with a variable like

    ${storage-ip}
    

    Does such variable exist?

    Cheers,

    Gamie

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Feb 4, 2019, 10:58 AM

      @Gamienator said:

      Does such variable exist?

      So far no. But it shouldn’t be to much a trouble to add. Which version of FOG do you currently use? Have you ever used FOG from the dev-branch - current development version?

      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

      G 1 Reply Last reply Feb 4, 2019, 4:49 PM Reply Quote 0
      • G
        Gamienator @Sebastian Roth
        last edited by Feb 4, 2019, 4:49 PM

        @Sebastian-Roth okay,

        I’m using the latest version and NOT the dev branch.

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Feb 4, 2019, 5:41 PM

          @Gamienator Are you using the location plugin? Can you read and apply patch files?

          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

          G 1 Reply Last reply Feb 6, 2019, 2:10 PM Reply Quote 0
          • G
            Gamienator @Sebastian Roth
            last edited by Feb 6, 2019, 2:10 PM

            @Sebastian-Roth Sorry for the late response!

            I installed the location Plugin but tbh, I don’t understand how to use it 😞

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Feb 6, 2019, 2:34 PM

              @Gamienator Have you read this wiki article yet? https://wiki.fogproject.org/wiki/index.php?title=Location_Plugin

              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 0
              • G
                Gamienator
                last edited by Feb 7, 2019, 8:50 AM

                Year I read the article and now watched the video.

                IIUC it only uses this for the images that I created and NOT the self generated Boot entrys. But thanks for all the help. My next step is now to find out how to configure how often it should be replicated. I’ll have a look at it 🙂

                1 Reply Last reply Reply Quote 1
                • S
                  Sebastian Roth Moderator
                  last edited by Feb 7, 2019, 10:11 AM

                  @Gamienator I am not sure if the Location Plugin will exactly match your needs. I was asking about this because it’s definitely worth looking into this for your kind of setup and on the other hand it might make a difference when we talk about adding ${storage-ip}.

                  I have not had the time to think this all through and work on the code though. I will try to do so over the weekend but won’t promise anything.

                  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 0
                  • 1 / 1
                  1 / 1
                  • First post
                    1/8
                    Last post

                  234

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project