Index: trunk/ubuntu/autoinstall/private1-a-eqiad.cfg |
— | — | @@ -0,0 +1,28 @@ |
| 2 | +# pmtpa specific configuration settings |
| 3 | + |
| 4 | +# Select interface that has a link |
| 5 | +d-i netcfg/choose_interface select auto |
| 6 | + |
| 7 | +# get_domain should be set, get_hostname is overwritten by DHCP |
| 8 | +#d-i netcfg/get_hostname string unassigned-hostname |
| 9 | +d-i netcfg/get_domain string eqiad.wmnet |
| 10 | + |
| 11 | +d-i netcfg/disable_dhcp boolean true |
| 12 | +# ip address is taken from DHCP, rest is set here |
| 13 | +d-i netcfg/get_netmask string 255.255.252.0 |
| 14 | +d-i netcfg/get_gateway string 10.64.0.1 |
| 15 | +d-i netcfg/get_nameservers string 208.80.152.131 208.80.152.132 |
| 16 | +d-i netcfg/confirm_static boolean true |
| 17 | + |
| 18 | +d-i netcfg/wireless_wep string |
| 19 | + |
| 20 | +d-i mirror/country string enter information manually |
| 21 | +d-i mirror/http/hostname string ubuntu.wikimedia.org |
| 22 | +d-i mirror/http/directory string /ubuntu/ |
| 23 | +d-i mirror/http/proxy string http://brewster.wikimedia.org:8080 |
| 24 | + |
| 25 | +d-i apt-setup/security_host string security.ubuntu.com |
| 26 | +d-i apt-setup/security-updates-failed note |
| 27 | + |
| 28 | +# NTP |
| 29 | +d-i clock-setup/ntp-server string ntp.eqiad.wmnet |
Index: trunk/ubuntu/autoinstall/netboot.cfg |
— | — | @@ -3,5 +3,5 @@ |
4 | 4 | # Generally we'll do a basic server install. |
5 | 5 | d-i preseed/include string common.cfg passwd.cfg override.cfg |
6 | 6 | |
7 | | -d-i preseed/include_command string case $(ip address show dev eth0 | egrep '^[[:space:]]+inet' | cut -d ' ' -f 8) in 208.80.152.191 208.80.153.191) echo pmtpa.cfg ;; 208.80.152.127) echo pmtpa-squid.cfg ;; 10.0.255.255) echo pmtpa-internal.cfg ;; 91.198.174.127) echo esams.cfg ;; esac; case $(debconf-get netcfg/get_hostname) in sq*|knsq*) echo squid.cfg ;; db*) echo db.cfg ;; srv15[123]) echo apache.cfg ;; esac |
| 7 | +d-i preseed/include_command string case $(ip address show dev eth0 | egrep '^[[:space:]]+inet' | cut -d ' ' -f 8) in 208.80.152.191 208.80.153.191) echo pmtpa.cfg ;; 208.80.152.127) echo pmtpa-squid.cfg ;; 10.0.255.255) echo pmtpa-internal.cfg ;; 10.64.3.255) echo private1-a-eqiad ;; 91.198.174.127) echo esams.cfg ;; esac; case $(debconf-get netcfg/get_hostname) in sq*|knsq*) echo squid.cfg ;; db*) echo db.cfg ;; srv15[123]) echo apache.cfg ;; esac |
8 | 8 | |