Documentation
¶
Index ¶
- func ConvertIP(ipAddress string) ([]byte, error)
- func FileToHex(filePath string) (sl string, err error)
- func FindAllIPAddresses() ([]net.IP, error)
- func FindIPAddress(addrName string) (string, string, error)
- func IPXEAnyBoot(webserverAddress string, kernel, initrd, cmdline string) string
- func IPXEAutoBoot() string
- func IPXEBOOTy(webserverAddress, kernel, initrd, cmdline string) string
- func IPXEKickstart(webserverAddress, kernel, initrd, cmdline string) string
- func IPXEPreeseed(webserverAddress, kernel, initrd, cmdline string) string
- func IPXEReboot() string
- func IPXEVSphere(webserverAddress, kernel, cmdline string) string
- func PullPXEBooter() error
- func WaitForCtrlC()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindAllIPAddresses ¶
FindAllIPAddresses - Will return all IP addresses for a server
func FindIPAddress ¶
FindIPAddress - this will find the address associated with an adapter
func IPXEAnyBoot ¶
IPXEAnyBoot - This will build an iPXE boot script for anything wanting to PXE boot
func IPXEKickstart ¶
IPXEKickstart - This will build an iPXE boot script for RHEL/CentOS
func IPXEPreeseed ¶
IPXEPreeseed - This will build an iPXE boot script for Debian/Ubuntu
func IPXEVSphere ¶
IPXEVSphere - This will build an iPXE boot script for VMware vSphere/ESXi
func PullPXEBooter ¶
func PullPXEBooter() error
PullPXEBooter - This will attempt to download the iPXE bootloader
func WaitForCtrlC ¶
func WaitForCtrlC()
WaitForCtrlC - This function is the loop that will catch a Control-C keypress
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.