]> git.michaelhowe.org Git - pub/michael/system-install.git/commitdiff
Try installing configtool too
authorMichael Howe <michael@michaelhowe.org>
Sat, 26 Jul 2014 16:54:24 +0000 (17:54 +0100)
committerMichael Howe <michael@michaelhowe.org>
Sat, 26 Jul 2014 16:54:24 +0000 (17:54 +0100)
bootstrap-host.sh

index 9ef86990faa1a7a62c5c75c648603fce2f62604d..5cebe970bebf8255fa6ce3d8d19d772cb10dfa10 100644 (file)
@@ -22,3 +22,17 @@ update-ca-certificates
 TEMP_GPG_PACKAGE="$TEMP_DIR/mh-archive-keyring"
 wget -O $TEMP_GPG_PACKAGE $GPG_PACKAGE_URL
 dpkg -i $TEMP_GPG_PACKAGE
+
+# set up apt
+echo "deb http://debian.internal.michaelhowe.org internal main contrib" >> /etc/apt/sources.list
+
+apt-get update
+
+# install configtool
+FULLHOSTNAME=`hostname -f`
+echo -e "configtool\tconfigtool/syncmode\tselect\tsubversion" | debconf-set-selections
+echo -e "configtool\tconfigtool/svn/username\tstring\t$FULLHOSTNAME" | debconf-set-selections
+echo -e "configtool\tconfigtool/svn/source\tstring\thttps://config.internal.michaelhowe.org/svn/basic/sysconfig/rb3/systems/$FULLHOSTNAME/root" | debconf-set-selections
+echo -e "configtool\tconfigtool/userskel/source\tstring\thttps://config.internal.michaelhowe.org/svn/basic/sysconfig/userskel" | debconf-set-selections
+
+apt-get install configtool