Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
sanboot:suse [2008/01/19 11:23] mdc |
sanboot:suse [2008/01/19 11:33] (current) mdc |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| This has been tested on SLES (SUSE Linux Enterprise Server) 10. | This has been tested on SLES (SUSE Linux Enterprise Server) 10. | ||
| - | group { | + | <code> |
| - | if substring(option vendor-class-identifier, 0, 9) = "PXEClient" { | + | option space gpxe; |
| - | filename "/gpxe/undionly.kpxe"; | + | option gpxe-encap-opts code 175 = encapsulate gpxe; |
| - | } else { | + | option gpxe.bus-id code 177 = string; |
| - | filename=""; | + | |
| - | option root-path "iscsi:192.168.0.10::::iqn.1987-05.com.cisco:lvol1"; | + | group { |
| - | } | + | host iscsihost { |
| - | host iscsihost { | + | hardware ethernet 00:0c:29:01:02:03; |
| - | hardware ethernet 00:0c:29:01:02:03; | + | fixed-address iscsihost.mydomain.org; |
| - | fixed-address iscsihost.mydomain.org; | + | |
| - | } | + | if not exists gpxe.bus-id { |
| + | filename "undionly.kpxe"; | ||
| + | } else { | ||
| + | filename=""; | ||
| + | option root-path "iscsi:192.168.0.10::::iqn.1987-05.com.cisco:lvol1"; | ||
| + | } | ||
| } | } | ||
| + | } | ||
| + | </code> | ||
| But there are still some topics to investigate: | But there are still some topics to investigate: | ||
| * System wants to deactivate Swap (located on iSCSI device) after network has gone down | * System wants to deactivate Swap (located on iSCSI device) after network has gone down | ||