Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cmd:read [2011/04/08 03:00]
mcb30
cmd:read [2013/03/07 13:32]
mcb30
Line 16: Line 16:
     echo -n Subnet mask: && read net0/​netmask     echo -n Subnet mask: && read net0/​netmask
     echo -n Default gateway: && read net0/​gateway     echo -n Default gateway: && read net0/​gateway
 +
 +=== Allow user to override DNS server specified via DHCP ===
 +
 +    dhcp
 +    echo -n Use DNS server: ${}
 +    read dns
  
 ===== Description ===== ===== Description =====
Line 38: Line 44:
   * ''​[[:​cmd:​clear]]''​   * ''​[[:​cmd:​clear]]''​
   * ''​[[:​cmd:​config]]''​   * ''​[[:​cmd:​config]]''​
 +  * ''​[[:​cmd:​login]]''​
   * [[:cfg|List of all iPXE settings]]   * [[:cfg|List of all iPXE settings]]
   * [[:cmd|List of all iPXE commands]]   * [[:cmd|List of all iPXE commands]]
Line 49: Line 56:
     iPXE> echo -n IP address: ${} && read net0/ip     iPXE> echo -n IP address: ${} && read net0/ip
     IP address: 192.168.0.1     IP address: 192.168.0.1
 +
 +You can use the ''​[[:​cmd:​login]]''​ command to prompt the user to enter a user name and password (without displaying the password on-screen).
  
cmd/read.txt ยท Last modified: 2021/04/23 11:40 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.