r33915 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33914‎ | r33915 | r33916 >
Date:15:33, 26 April 2008
Author:mark
Status:old
Tags:
Comment:
Also support other clusters with multiple vlans
Modified paths:
  • /trunk/ubuntu/autoinstall/netboot.cfg (modified) (history)
  • /trunk/ubuntu/autoinstall/pmtpa-squid.cfg (modified) (history)

Diff [purge]

Index: trunk/ubuntu/autoinstall/pmtpa-squid.cfg
@@ -6,12 +6,12 @@
77 d-i netcfg/get_hostname string unassigned-hostname
88 d-i netcfg/get_domain string unassigned-domain
99
10 -d-i netcfg/disable_dhcp boolean true
 10+d-i netcfg/disable_dhcp boolean true
1111 # 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
1616
1717 d-i netcfg/wireless_wep string
1818
Index: trunk/ubuntu/autoinstall/netboot.cfg
@@ -3,5 +3,5 @@
44 # Generally we'll do a basic server install.
55 d-i preseed/include string common.cfg passwd.cfg override.cfg
66
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
88

Status & tagging log