Skip to content

Instantly share code, notes, and snippets.

@EntropyWorks
EntropyWorks / late_command.sh
Created June 19, 2012 21:38
12.04 TLS preseed.cfg and ipxe file for network install
!ipxe
set ipxe-ip 10.X.Y.Z
set base-url http://${ipxe-ip}
set preseed http://${ipxe-ip}
set http-proxy http://${ipxe-ip}:3142
set nic eth2
set use-cached 1
dhcp net1
echo mac...............: ${net1/mac}
echo ip................: ${ip}
@EntropyWorks
EntropyWorks / boot.php
Created June 13, 2012 07:19
Very Basic iPXE php script
<?php
echo "#!ipxe\n";
$install = true;
$server_ip = "192.168.1.1";
$proxy = "http_proxy=http://192.168.1.1:8080";
$kickstart = "ubuntu-12.04-LTS.ks"
if ($install) {
//default to ubuntu live system
?>