This shows you the differences between two versions of the page.
err:2d0c20 [2012/05/10 14:52] |
err:2d0c20 [2012/05/10 14:52] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | This error indicates that you have attempted to retrieve a non-existent [[:settings|setting]]. | ||
+ | |||
+ | Things to try: | ||
+ | |||
+ | * If you are using the ''[[:cmd:show]]'' command in an iPXE [[:scripting|script]] to display the value of a setting, consider using the ''[[:cmd:echo]]'' command instead. For example:<code> #!ipxe | ||
+ | | ||
+ | dhcp | ||
+ | echo IP address: ${net0/ip} | ||
+ | </code>You may also want to use the ''[[:cmd:isset]]'' command. For example:<code> #!ipxe | ||
+ | | ||
+ | dhcp | ||
+ | isset ${net0/ip} && echo IP address: ${net0/ip} || echo No IP address | ||
+ | </code> | ||