Index: trunk/ubuntu/autoinstall/pmtpa-squid.cfg |
— | — | @@ -6,12 +6,12 @@ |
7 | 7 | d-i netcfg/get_hostname string unassigned-hostname |
8 | 8 | d-i netcfg/get_domain string unassigned-domain |
9 | 9 | |
10 | | -d-i netcfg/disable_dhcp boolean true |
| 10 | +d-i netcfg/disable_dhcp boolean true |
11 | 11 | # ip address is taken from DHCP, rest is set here |
12 | | -d-i netcfg/get_netmask string 255.255.255.128 |
13 | | -d-i netcfg/get_gateway string 208.80.152.1 |
14 | | -d-i netcfg/get_nameservers string 208.80.152.131 208.80.152.132 |
15 | | -d-i netcfg/confirm_static boolean true |
| 12 | +d-i netcfg/get_netmask string 255.255.255.128 |
| 13 | +d-i netcfg/get_gateway string 208.80.152.1 |
| 14 | +d-i netcfg/get_nameservers string 208.80.152.131 208.80.152.132 |
| 15 | +d-i netcfg/confirm_static boolean true |
16 | 16 | |
17 | 17 | d-i netcfg/wireless_wep string |
18 | 18 | |
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) echo pmtpa.cfg ;; 208.80.152.127) echo pmtpa-squid.cfg ;; 10.0.255.255) echo pmtpa-internal.cfg ;; knams.wikimedia.org) echo knams.cfg ;; yaseo.wikimedia.org) echo yaseo.cfg ;; esac; case $(debconf-get netcfg/get_hostname) in sq*|knsq*|yf100[0-9]|yf101[0-7]|db10) 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) echo pmtpa.cfg ;; 208.80.152.127) echo pmtpa-squid.cfg ;; 10.0.255.255) echo pmtpa-internal.cfg ;; 91.198.174.127) echo knams.cfg ;; 203.212.189.255) echo yaseo.cfg ;; esac; case $(debconf-get netcfg/get_hostname) in sq*|knsq*|yf100[0-9]|yf101[0-7]|db10) echo squid.cfg ;; db*) echo db.cfg ;; srv15[123]) echo apache.cfg ;; esac |
8 | 8 | |