Revision 838e1f63
Added by Renato Botelho over 11 years ago
etc/inc/services.inc | ||
---|---|---|
994 | 994 |
} |
995 | 995 |
} |
996 | 996 |
|
997 |
if(isset($dhcpv6ifconf['netboot']) && !empty($dhcpv6ifconf['bootfile_url'])) |
|
998 |
$custoptionsv6 .= "option dhcp6.bootfile-url code 59 = string;\n"; |
|
999 |
|
|
997 | 1000 |
$dhcpdv6conf = <<<EOD |
998 | 1001 |
|
999 | 1002 |
option domain-name "{$syscfg['domain']}"; |
... | ... | |
1124 | 1127 |
|
1125 | 1128 |
// net boot information |
1126 | 1129 |
if(isset($dhcpv6ifconf['netboot'])) { |
1127 |
if ($dhcpv6ifconf['nextserver'] <> "") { |
|
1128 |
$dhcpdv6conf .= " next-server {$dhcpv6ifconf['nextserver']};\n"; |
|
1129 |
} |
|
1130 |
if ($dhcpv6ifconf['filename'] <> "") { |
|
1131 |
$dhcpdv6conf .= " filename \"{$dhcpv6ifconf['filename']}\";\n"; |
|
1132 |
} |
|
1133 |
if ($dhcpv6ifconf['rootpath'] <> "") { |
|
1134 |
$dhcpdv6conf .= " option root-path \"{$dhcpv6ifconf['rootpath']}\";\n"; |
|
1130 |
if (!empty($dhcpv6ifconf['bootfile_url'])) { |
|
1131 |
$dhcpdv6conf .= " option dhcp6.bootfile-url \"{$dhcpv6ifconf['bootfile_url']}\";\n"; |
|
1135 | 1132 |
} |
1136 | 1133 |
} |
1137 | 1134 |
|
Also available in: Unified diff
Use correct parameter (bootfile-url) to configure netboot on DHCPdv6, it fixes #3421