Change eth0 to static ip.
sudo gedit /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.104
netmask 255.255.255.0
gateway 192.168.0.1
Now do,
sudo gedit /etc/resolv.conf
nameserver 192.168.0.1
domain your.domain.xx
search your.domain.xx
Save and exit
sudo /etc/init.d/networking restart
Follow instructions to install FOG
http://www.fogproject.org/wiki/index.php?title=Ubuntu_10.04
Summary of my fog setup
Here are the settings FOG will use:
Distro: Ubuntu
Installation Type: Normal Server
Server IP Address: 192.168.0.104
DHCP router Address: 192.168.0.1
DHCP DNS Address: 192.168.0.1
Interface: eth0
Using FOG DHCP: 1
Internationalization: 0
—————————-
If Mysql has a password update fog config here,
/var/www/fog/commons/config.php
——————–
Add additional utils to the pxe boot menu.
Part of my tools include: Dell Diagnostics, Gparted, DBAN, etc.
Gparted has instructions for adding it to a tftp server. http://gparted.sourceforge.net/livepxe.php
sudo gedit /tftp/pxelinux.cfg/default
added the following:
LABEL DellDiagnostics
kernel dell/memdisk
append initrd=dell/delldiag
MENU LABEL Dell Diagnostics
TEXT HELP
Dell Diagnostics, Oct 6 2009
ENDTEXT
\n
LABEL Gparted
kernel gparted/vmlinuz
append initrd=gparted/initrd.img boot=live union=aufs noswap noprompt vga=788 fetch=http://192.168.0.104/filesystem.squashfs
MENU LABEL Gparted ver 0.5.2-9
TEXT HELP
Format HD, June 9 2010
ENDTEXT
\n
LABEL Wipe HD using DBAN
TEXT HELP
DBAN 2.2.6-Beta, June 9-2010
ENDTEXT
kernel utils/dban.bzi
append nuke=”dwipe –autonuke –method quick” silent
\n