mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	refine the dhcp conf for cumulus support
This commit is contained in:
		| @@ -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"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user