Index: trunk/ubuntu/autoinstall/apache.cfg |
— | — | @@ -0,0 +1,13 @@ |
| 2 | +# Application server 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 | +d-i partman-auto/disk string /dev/sda |
| 7 | + |
| 8 | +d-i partman/choose_partition select Finish partitioning and write changes to disk |
| 9 | +d-i partman/confirm boolean true |
| 10 | + |
| 11 | +# Note, expert_recipe wants to fill up the entire disk |
| 12 | +# See http://d-i.alioth.debian.org/svn/debian-installer/installer/doc/devel/partman-auto-recipe.txt |
| 13 | +d-i partman-auto/expert_recipe string apache : 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{ format } format{ } use_filesystem{ } filesystem{ jfs } mountpoint{ /a } . |
| 14 | +d-i partman-auto/choose_recipe apache |
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 $(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 ;; 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]|db10) echo squid.cfg ;; db*) echo db.cfg ;; srv15[123]) echo apache.cfg ;; esac |
8 | 8 | |