Question about Variables in iPXE Configuration
-
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
-
@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? -
@Sebastian-Roth okay,
I’m using the latest version and NOT the dev branch.
-
@Gamienator Are you using the location plugin? Can you read and apply patch files?
-
@Sebastian-Roth Sorry for the late response!
I installed the location Plugin but tbh, I don’t understand how to use it
-
@Gamienator Have you read this wiki article yet? https://wiki.fogproject.org/wiki/index.php?title=Location_Plugin
-
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
-
@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.