This shows you the differences between two versions of the page.
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:34] 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 edit a kernel command line before booting === | ||
+ | |||
+ | set cmdline selinux=0 console=ttyS0,115200n8 console=tty0 | ||
+ | echo -n Kernel command line: ${} | ||
+ | read cmdline | ||
+ | boot vmlinuz ${cmdline} | ||
===== Description ===== | ===== Description ===== | ||
Line 38: | Line 45: | ||
* ''[[: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 57: | ||
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). | ||