I'm installing CentOS 7 using the ks
option. Example:
ks=http://10.0.0.100:8080/anaconda-ks.cfg
From within this configuration file, how can I "dynamically" fetch the URL of its location?
In this case, I want this: "http://10.0.0.100:8080/"
EDIT: Ultimately, what am doing is I match the MAC address of the machine against a Python dictionary (JSON file) in order to determine which hostname to set during installation. And I would like to avoid hard-coding the URL to the JSON file into the kickstart configuration script.