2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-01 17:17:36 +00:00

refine the dhcp conf for cumulus support

This commit is contained in:
immarvin
2016-11-08 15:51:30 +08:00
parent c933502500
commit c02c101156

View File

@@ -2650,7 +2650,7 @@ sub addnet
push @netent, " option conf-file = \"http://$tftp/tftpboot/pxelinux.cfg/p/" . $net . "_" . $maskbits . "\";\n";
push @netent,
" } else if substring (option vendor-class-identifier,0,11) = \"onie_vendor\" { #for onie on cumulus switch\n";
push @netent, " option www-server = \"http://install/onie/onie-installer\";\n";
push @netent, " option www-server = \"http://$tftp/install/onie/onie-installer\";\n";
push @netent,
" } else if substring(filename,0,1) = null { #otherwise, provide yaboot if the client isn't specific\n ";
push @netent, " filename \"/yaboot\";\n";