mirror of
https://github.com/danderson/netboot.git
synced 2025-08-08 23:57:14 +02:00
pixiecore/cli: plumb other flags to API mode in v1compat.
This commit is contained in:
parent
71a7b89493
commit
edb7ad89bb
@ -79,9 +79,14 @@ func v1compatCLI() bool {
|
||||
fatalf("Failed to create API booter: %s", err)
|
||||
}
|
||||
s := &pixiecore.Server{
|
||||
Booter: booter,
|
||||
Ipxe: Ipxe,
|
||||
Log: func(msg string) { fmt.Println(msg) },
|
||||
Booter: booter,
|
||||
Ipxe: Ipxe,
|
||||
Log: func(msg string) { fmt.Println(msg) },
|
||||
Address: *listenAddr,
|
||||
HTTPPort: *portHTTP,
|
||||
DHCPPort: *portDHCP,
|
||||
TFTPPort: *portTFTP,
|
||||
PXEPort: *portPXE,
|
||||
}
|
||||
fmt.Println(s.Serve())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user