r33913 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33912‎ | r33913 | r33914 >
Date:15:19, 26 April 2008
Author:mark
Status:old
Tags:
Comment:
Support multiple public vlans
Modified paths:
  • /trunk/ubuntu/autoinstall/netboot.cfg (modified) (history)
  • /trunk/ubuntu/autoinstall/pmtpa-squid.cfg (added) (history)

Diff [purge]

Index: trunk/ubuntu/autoinstall/pmtpa-squid.cfg
@@ -0,0 +1,35 @@
 2+# pmtpa specific configuration settings
 3+
 4+# Select interface that has a link
 5+d-i netcfg/choose_interface select auto
 6+
 7+d-i netcfg/get_hostname string unassigned-hostname
 8+d-i netcfg/get_domain string unassigned-domain
 9+
 10+d-i netcfg/disable_dhcp boolean true
 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
 16+
 17+d-i netcfg/wireless_wep string
 18+
 19+d-i mirror/country string enter information manually
 20+d-i mirror/http/hostname string apt.wikimedia.org
 21+d-i mirror/http/directory string /ubuntu/
 22+d-i mirror/http/proxy string
 23+
 24+d-i apt-setup/security_host string security.ubuntu.com
 25+
 26+# ssmtp settings
 27+ssmtp ssmtp/mailhub string smtp.pmtpa.wmnet
 28+ssmtp ssmtp/fromoverride boolean true
 29+
 30+# nis
 31+nis nis/domain string pmtpa.wmnet
 32+nis nis/domain seen true
 33+
 34+# wikimedia-lvs-realserver
 35+wikimedia-lvs-realserver wikimedia-lvs-realserver/service_ips string 10.0.5.3
 36+wikimedia-lvs-realserver wikimedia-lvs-realserver/service_ips seen true
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 $(debconf-get netcfg/get_domain) in wikimedia.org) echo pmtpa.cfg ;; pmtpa.wmnet) 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 ;; 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
88

Status & tagging log