r59591 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59590‎ | r59591 | r59592 >
Date:18:31, 30 November 2009
Author:root
Status:ok
Tags:
Comment:
Update late_command script for Ubuntu 9.10, and install puppet by default
Modified paths:
  • /trunk/ubuntu/autoinstall/scripts/late_command (modified) (history)

Diff [purge]

Index: trunk/ubuntu/autoinstall/scripts/late_command
@@ -3,17 +3,18 @@
44 set -e
55 set -x
66
7 -# Install wikimedia-base which pulls in a lot of other stuff, and
8 -# openssh-server just to be sure
9 -apt-install wikimedia-base openssh-server
10 -
117 # Install the public root ssh key
128 mkdir /target/root/.ssh
139 wget -O /target/root/.ssh/authorized_keys http://apt.wikimedia.org/autoinstall/ssh/authorized_keys
1410 chmod go-rwx /target/root/.ssh/authorized_keys
1511
 12+# Install wikimedia-base which pulls in a lot of other stuff, and
 13+# openssh-server just to be sure
 14+apt-install wikimedia-base openssh-server puppet
 15+
1616 # Enable serial console (this has changed in Edgy with upstart)
17 -if [ -f /target/etc/inittab ]
 17+SUITE=$(debconf-get mirror/suite)
 18+if [ "$SUITE" = "hardy" && -f /target/etc/inittab ]
1819 then
1920 # Do not let Ubuntu installer disable the console
2021 rm -f /usr/lib/prebaseconfig.d/90console

Status & tagging log