r16970 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r16969‎ | r16970 | r16971 >
Date:13:16, 12 October 2006
Author:mark
Status:old
Tags:
Comment:
* Use the correct sections for the Wikimedia APT repository
* Retrieve ssh key from apt.wikimedia.org
Modified paths:
  • /trunk/ubuntu/autoinstall/common.cfg (modified) (history)

Diff [purge]

Index: trunk/ubuntu/autoinstall/common.cfg
@@ -19,7 +19,7 @@
2020
2121 # Wikimedia's APT repository
2222 d-i apt-setup/local0/comment string Wikimedia APT repository
23 -d-i apt-setup/local0/repository string http://apt.wikimedia.org/wikimedia dapper-wikimedia main contrib non-free
 23+d-i apt-setup/local0/repository string http://apt.wikimedia.org/wikimedia dapper-wikimedia main restricted universe multiverse
2424 d-i apt-setup/local0/source boolean true
2525 d-i apt-setup/local0/key string http://apt.wikimedia.org/autoinstall/keyring/wikimedia-archive-keyring.gpg
2626
@@ -30,4 +30,4 @@
3131 d-i preseed/early_command string echo d-i netcfg/get_ipaddress string $(ifconfig | grep "inet addr" | cut -d ' ' -f 12 | sed 's/addr://' | grep -v 127\.0\.0\.1) > /tmp/static_net.cfg && debconf-set-selections /tmp/static_net.cfg && killall.sh; netcfg; true
3232
3333 # Individual additional packages to install
34 -d-i preseed/late_command string apt-install openssh-server build-essential zsh sysstat bc joe ntp-simple; mkdir /target/root/.ssh && wget -O /target/root/.ssh/authorized_keys http://www.knams.wikimedia.org/autoinstall/ssh/authorized_keys && chmod go-rwx /target/root/.ssh/authorized_keys; rm -f /usr/lib/prebaseconfig.d/90console && sed -i -e "s/^#T0:/T0:/" /target/etc/inittab; chroot /target /bin/sh -c 'echo -e \\n$(cat /etc/issue.net) auto-installed on $(date). > /etc/motd'
 34+d-i preseed/late_command string apt-install wikimedia-base; mkdir /target/root/.ssh && wget -O /target/root/.ssh/authorized_keys http://apt.wikimedia.org/autoinstall/ssh/authorized_keys && chmod go-rwx /target/root/.ssh/authorized_keys; rm -f /usr/lib/prebaseconfig.d/90console && sed -i -e "s/^#T0:/T0:/" /target/etc/inittab; chroot /target /bin/sh -c 'echo -e \\n$(cat /etc/issue.net) auto-installed on $(date). > /etc/motd'