2573
Comment: Switch off proxy for wheezy.
|
2364
update
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
Line 31: | Line 31: |
/!\ '''Wheezy:''' Comment the line setting the proxy in {{{/srv/fai/config/files/etc/apt/apt.conf/SERVER_A}}}, as there is no proxy available yet. Reverse that modification after successful installation. |
Translation(s): none
Bootstrapping
The installation of a mainserver is possible in various ways. You can either create your own CD image, download a provided CD image or convert an existing minimal Debian installation. The approaches are described in the following.
Create an ISO Image
The pages listed below describe how to get started and prepare a CD to install the faiserver. All other machines are deployed from the faiserver. Please report failures to the mailing list:
Download an ISO Image
If you are short in time, give Debian-LAN a try by using the provided ISO images.
Convert a Minimal Debian Installation
First install a minimal Debian, hostname mainserver. Log into the system and execute:
aptitude install fai-quickstart git
Now, put your FAI config space in place. Modify it if needed:
rm -r /srv/fai/config cd /tmp/ git clone --branch squeeze git://git.debian.org/git/collab-maint/debian-lan # or: git clone git://git.debian.org/git/collab-maint/debian-lan cp -r /tmp/debian-lan/fai/config /srv/fai/ cd -
Disable the start of services when installing new packages:
cat > /usr/sbin/policy-rc.d <<EOF #!/bin/sh exit 101 EOF chmod a+rx /usr/sbin/policy-rc.d
Run FAI:
fai -vN -s file:///srv/fai/config/ softupdate
If anything looks fine clean up and reboot:
rm /usr/sbin/policy-rc.d mkdir /var/lib/fai/config reboot
Notes
The network configuration is not touched, you need to configure it manually. (Add dns-search intern to the lo interface if /etc/resolv.conf is missing the search intern line.)
The approach has been rarely tested. Please contact the mailing list if things do not work out as expected.