The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to pass options to the booted system via PXECONFIG script
2013-11-01, 20:16 (This post was last modified: 2013-11-01 22:18 by knatesan.)
Post: #1
How to pass options to the booted system via PXECONFIG script
I have a script that automatically runs after system has been pxebooted.
that script needs some information like IP address and path to some file.
I would like to specify in my PXEconfig file.
Does anyone have gone through this? any clue on how to do this?
Thanks in advance..
Below is my PXE config file("Bootloader.cfg")
"kernel nfs://192.168.13.5/var/www/nfsshare/casper/vmlinuz
initrd nfs://192.168.13.5/var/www/nfsshare/casper/initrd.gz
echo now booting...
imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.13.5:/var/www/nfsshare/
boot"

I have placed my script in /usr/bin and i have a entry in /etc/rc.local aswell.
I want to pass some arguments for my script like IP address..
something like "autoexe" .. Any clue?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How to pass options to the booted system via PXECONFIG script - knatesan - 2013-11-01 20:16



User(s) browsing this thread: 4 Guest(s)