Talk:Install Server

From Free Geek Seattle

I'm going to post a really basic shell script here to replicate the setup I have on headwaiter (the install on which this article is based). I will also place the file in the Special:ListFiles section so it will be wget-able. Later there will be a more refined, general-purpose script on our github.

pxelinux.cfg/default

include mybootmenu.cfg
default ubuntu-installer/i386/boot-screens/vesamenu.c32
prompt 0
timeout 100

mybootmenu.cfg

menu hshift 13
menu width 49
menu margin 8
menu title Trusty NetBoot Menu
include ubuntu-installer/i386/boot-screens/stdmenu.cfg
menu begin Cool options
    default livei386
    label livei386
        menu label Xubuntu 14.04 Live 32bit
        kernel ubuntu-livecd-boot/i386/vmlinuz
        append boot=casper netboot=nfs nfsroot=192.168.0.1:/srv/nfs/live-files/i386 initrd=ubuntu-livecd-boot/i386/initrd.lz -- splash quiet
    label liveamd64
        menu label Xubuntu 14.04 Live 64bit
        kernel ubuntu-livecd-boot/amd64/vmlinuz
    append boot=casper netboot=nfs nfsroot=192.168.0.1:/srv/nfs/live-files/amd64 initrd=ubuntu-livecd-boot/amd64/initrd.lz -- splash quiet
menu end

interface-change.sh

#wired - services listen on this iface
auto allow-hotplug eth0
iface eth0 inet static
   address 192.168.0.1
   netmask 255.255.255.0
up /etc/init.d/tftpd-hpa start
up /etc/init.d/isc-dhcp-server start
up exportfs -a

#radio - connected to internets
allow-hotplug wlan0
iface wlan0 inet dhcp
   wpa-ssid "Network-essid"
   wpa-psk "wpa-password"