[Piuparts-commits] [SCM] piuparts git repository branch, bikeshed, updated. 0.51-10-g4c888cd

Holger Levsen holger at layer-acht.org
Wed May 15 17:42:06 UTC 2013


The following commit has been merged in the bikeshed branch:
commit d3c1f96e0659b4acc59b320b2e242686ac645a2f
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed May 15 19:28:50 2013 +0200

    update-piuparts-slave-setup: add crude hack to link piu-slave-bm to pejacevic.

diff --git a/debian/changelog b/debian/changelog
index db02726..adcec4d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,8 @@ piuparts (0.52) UNRELEASED; urgency=low
   [ Holger Levsen ]
   * piuparts-report: add links to Debian QA group and jenkins.debian.net in
     the navigation menu on the left.
+  * update-piuparts-slave-setup: add crude hack to link piu-slave-bm to
+    pejacevic.
 
  -- Holger Levsen <holger at debian.org>  Wed, 15 May 2013 17:25:41 +0200
 
diff --git a/update-piuparts-slave-setup b/update-piuparts-slave-setup
index e564bfc..2f0ce66 100755
--- a/update-piuparts-slave-setup
+++ b/update-piuparts-slave-setup
@@ -84,6 +84,10 @@ mkdir -p slave slave/basetgz
 # to support multiple hosts with this setup
 cd etc/piuparts
 HOSTNAME=$(hostname)
+# if the hostname starts with piu-slave-bm (bm for bytemark) let's use the pejacevic config
+if [ ${HOSTNAME:0:12} = "piu-slave-bm" ] ; then
+	HOSTNAME="pejacevic"
+fi
 for f in piuparts.conf
 do
 	ln -sf $f.$HOSTNAME $f

-- 
piuparts git repository



More information about the Piuparts-commits mailing list