Allow the TFP server or boot server in --pxe-service, to

be a domain name instead of an IP address. This allows for
 round-robin to multiple servers, in the same way as
 --dhcp-boot.
This commit is contained in:
Simon Kelley
2012-02-10 15:24:51 +00:00
parent 9bbc88762b
commit 751d6f4ae6
5 changed files with 34 additions and 16 deletions

View File

@@ -547,7 +547,7 @@ struct dhcp_boot {
struct pxe_service {
unsigned short CSA, type;
char *menu, *basename;
char *menu, *basename, *sname;
struct in_addr server;
struct dhcp_netid *netid;
struct pxe_service *next;