DHCP options
Verfasst: 07 Jan 2014, 22:23
Could it be possible to use a DHCP option field to tell the OPSI bootimage what the opsi depot server is in the domain?
For instance a bit of isc dhcpd.conf with such an option, used for configuration of Avaya VoIP phones:
Not that I need it, but maybe this could be a replacement for the lost functionality since a while ago. Forgot what happened.. Something got updated and since then you would have to set the name of the opsi depot server in the bootimage when not directly booting to a chosen PXE option.
For instance a bit of isc dhcpd.conf with such an option, used for configuration of Avaya VoIP phones:
Code: Alles auswählen
option avaya-96xx code 242 = text;
option domain-name-servers 10.23.0.2;
option routers 10.23.0.23;
option ntp-servers 10.23.0.23;
option subnet-mask 255.255.0.0;
filename "linux/pxelinux.0";
next-server 10.23.0.25;
subnet 10.23.0.0 netmask 255.255.0.0 {
pool {
option avaya-96xx "L2QVLAN=0,L2Q=0,HTTPSRVR=10.23.0.40,HTTPDIR=/avaya/";
max-lease-time 7200;
range 10.23.20.1 10.23.40.254;
}
}