-
I know this is not an issue with IPxe, but I have searched many articles but have not found a solution. I would like to consult experts here to see if there are any good solutions, Here is my question: I am booting the installation program of Centos7 through IPxe to install the machine, and I need to set a static IP in the kernel command line. These are my parameters:
May I ask how to set a static IP based on the MAC when I don't know the name of the device in this situation Thank you very much to the experts for giving me some feedback. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can't, if there is one nic then eth0, if multiple NICs is present and loaded as modules, then in most distros it not be known. The ip cmdline is from a time when you built your own kernel for network boot, it is likely that any bootup script would still configure network, and drop your IP config. |
Beta Was this translation helpful? Give feedback.
-
As far as I am aware, CentOS uses the Anaconda installer, so you should be able to find the relevant kernel command-line documentation at https://anaconda-installer.readthedocs.io/en/latest/boot-options.html |
Beta Was this translation helpful? Give feedback.
As far as I am aware, CentOS uses the Anaconda installer, so you should be able to find the relevant kernel command-line documentation at https://anaconda-installer.readthedocs.io/en/latest/boot-options.html