'DHO_AUTO_CONFIGURE' => 116,
'DHO_NAME_SERVICE_SEARCH' => 117,
'DHO_SUBNET_SELECTION' => 118,
-
+
+ # http://tools.ietf.org/html/draft-ietf-dhc-pxelinux-03
+ 'DHO_PXELINUX_MAGIC' => 208, # 0xF100747E
+ 'DHO_PXELINUX_CONFIG_FILE' => 209,
+ 'DHO_PXELINUX_PATH_PREFIX' => 210,
+ 'DHO_PXELINUX_REBOOT_TIME' => 211, # default: 300 s
+
'DHO_END' => 255
);
DHO_NAME_SERVICE_SEARCH() => 'shorts', # rfc 2937
DHO_SUBNET_SELECTION() => 'inet', # rfc 3011
+ DHO_PXELINUX_MAGIC() => 'int', # draft-ietf-dhc-pxelinux-03
+ DHO_PXELINUX_CONFIG_FILE() => 'string',
+ DHO_PXELINUX_PATH_PREFIX() => 'string',
+ DHO_PXELINUX_REBOOT_TIME() => 'int', # 300 s
+
);
1;
Giaddr => $dhcp->giaddr(),
Chaddr => $dhcp->chaddr(),
File => $file,
+
+ DHO_PXELINUX_MAGIC() => 0xF100747E,
+ DHO_PXELINUX_CONFIG_FILE() => 'pxelinux.cfg/default',
+ DHO_PXELINUX_PATH_PREFIX() => 'live-helper/tftpboot/',
+ DHO_PXELINUX_REBOOT_TIME() => 5, # default: 300 s
};
my $messagetype = $dhcp->getOptionValue(DHO_DHCP_MESSAGE_TYPE());