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:goto [2011/02/28 12:54] mcb30 |
cmd:goto [2011/03/23 19:30] mcb30 |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Jump to a script label ====== | + | ====== Jump to script label ====== |
===== Synopsis ===== | ===== Synopsis ===== | ||
Line 35: | Line 35: | ||
===== Notes ===== | ===== Notes ===== | ||
- | As with all iPXE commands, any settings such as ${hostname} will be expanded. It is therefore possible to use a dynamically-generated label as the target for the ''goto'' command. For example, if the hostname provided by DHCP is ''thinclient1'', then the command | + | As with all iPXE commands, any [[:settings]] such as ${hostname} will be expanded. It is therefore possible to use a dynamically-generated label as the target for the ''goto'' command. For example, if the hostname provided by DHCP is ''thinclient1'', then the command |
goto host_${hostname} | goto host_${hostname} |