pixiecore/cli: plumb other flags to API mode in v1compat.

This commit is contained in:
David Anderson 2016-08-14 19:48:39 -07:00
parent 71a7b89493
commit edb7ad89bb

View File

@ -82,6 +82,11 @@ func v1compatCLI() bool {
Booter: booter, Booter: booter,
Ipxe: Ipxe, Ipxe: Ipxe,
Log: func(msg string) { fmt.Println(msg) }, Log: func(msg string) { fmt.Println(msg) },
Address: *listenAddr,
HTTPPort: *portHTTP,
DHCPPort: *portDHCP,
TFTPPort: *portTFTP,
PXEPort: *portPXE,
} }
fmt.Println(s.Serve()) fmt.Println(s.Serve())