Quantcast
Channel: iPXE discussion forum - All Forums
Viewing all articles
Browse latest Browse all 1484

how do I display the serial and mac address on ipxe main menu?

$
0
0
I'd like to display the computer serial and mac address. This is because when we recieve new machines, typically 40 at a time, I use ipxe to boot and then enter these details into a new machine database.

I must enter the ipxe shell to type show net0/mac and show serial. To be easier it would be useful to be displayed on the ipxe menu itself, or have a submenu to show this info.

Preferably if it could be displayed underneath the menu title directly, psedo code below, as I do not know the correct way to display undefined variables.

menu iPXE Boot Menu
text serial: $(serial)
text MAC: $(net0/mac)

Viewing all articles
Browse latest Browse all 1484

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>