r18443 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r18442‎ | r18443 | r18444 >
Date:13:21, 19 December 2006
Author:mark
Status:old
Tags:
Comment:
* Update resolver IPs
* Add pmtpa-internal cluster
* Add Core DB specific configuration
Modified paths:
  • /trunk/ubuntu/autoinstall/db.cfg (added) (history)
  • /trunk/ubuntu/autoinstall/netboot.cfg (modified) (history)
  • /trunk/ubuntu/autoinstall/pmtpa-internal.cfg (added) (history)
  • /trunk/ubuntu/autoinstall/pmtpa.cfg (modified) (history)

Diff [purge]

Index: trunk/ubuntu/autoinstall/pmtpa.cfg
@@ -10,7 +10,7 @@
1111 # ip address is taken from DHCP, rest is set here
1212 d-i netcfg/get_netmask string 255.255.255.0
1313 d-i netcfg/get_gateway string 66.230.200.10
14 -d-i netcfg/get_nameservers string 10.0.5.6 10.0.5.7
 14+d-i netcfg/get_nameservers string 66.230.200.17 66.230.200.18
1515 d-i netcfg/confirm_static boolean true
1616
1717 d-i netcfg/wireless_wep string
Index: trunk/ubuntu/autoinstall/db.cfg
@@ -0,0 +1,22 @@
 2+# Core DB specific configuration
 3+
 4+# Implementation specific hack:
 5+d-i partman-auto/init_automatically_partition select 20some_device__________/var/lib/partman/devices/=dev=sda
 6+# ...instead of this:
 7+#d-i partman-auto/init_automatically_partition select Erase entire disk: SCSI1 (0,0,0) (sda) - 73.4 GB SEAGATE ST373307LC
 8+
 9+d-i partman-auto/disk string /dev/sda
 10+
 11+d-i partman/choose_partition select Finish partitioning and write changes to disk
 12+d-i partman/confirm boolean true
 13+
 14+# No swap is fine for squids
 15+# This doesn't work and creates a loop
 16+#d-i partman-basicfilesystems/no_swap boolean false
 17+
 18+# Do not format the last partition, use it to provide free space
 19+d-i partman-basicmethods/method_only boolean false
 20+
 21+# Note, expert_recipe wants to fill up the entire disk
 22+d-i partman-auto/expert_recipe string db : 3000 5000 8000 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . 1000 1000 1000 linux-swap method{ swap } format{ } . 64 1000 10000000 jfs method{ keep } .
 23+d-i partman-auto/choose_recipe db
Index: trunk/ubuntu/autoinstall/pmtpa-internal.cfg
@@ -0,0 +1,26 @@
 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.0.0
 13+d-i netcfg/get_gateway string 10.0.0.200
 14+d-i netcfg/get_nameservers string 66.230.200.17 66.230.200.18
 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 goeje.wikimedia.org
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 ;; 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]|clematis|sage|ragweed|hawthorn|fuchsia|iris|lily|mayflower|mint|vandale|storage2) echo squid.cfg ;; esac
 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]|clematis|sage|ragweed|hawthorn|fuchsia|iris|lily|mayflower|mint|vandale|storage2) echo squid.cfg ;; db*) echo db.cfg ;; esac
88