EntropyWorks

iPXE config file that I grab via HTTP

Jun 19th, 2012
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. #!ipxe
  2. set ipxe-ip 10.X.Y.Z
  3. set base-url http://${ipxe-ip}/iso/loop/install/netboot/ubuntu-installer/amd64
  4. set preseed http://${ipxe-ip}
  5. set http-proxy http://${ipxe-ip}:3142
  6. set nic eth2
  7. set use-cached 1
  8. dhcp net1
  9. echo mac...............: ${net1/mac}
  10. echo ip................: ${ip}
  11. echo netmask...........: ${netmask}
  12. echo gateway...........: ${gateway}
  13. echo dns...............: ${dns}
  14. echo domain............: ${domain}
  15. echo dhcp-server.......: ${dhcp-server}
  16. echo filename..........: ${filename}
  17. echo next-server.......: ${next-server}
  18. echo uuid..............: ${uuid}
  19. echo serial............: ${serial}
  20. echo hostname..........: ${hostname}
  21. echo syslog............: ${syslog}
  22. echo .
  23. kernel linux
  24. initrd initrd-mlx4.gz
  25. imgargs linux auto=true url=${preseed} http_proxy=${http-proxy} interface=${nic} hostname=REMOVED-${serial} domain=${domain} DEBCONF_INTERFACE=noninteractive
  26. boot
  27. || shell
Advertisement
Add Comment
Please, Sign In to add comment