summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins-test-vm
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/jenkins-test-vm')
-rwxr-xr-xhosts/jenkins-test-vm/etc/pbuilder/rebuild-hooks/D01_modify_environment4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/jenkins-test-vm/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/jenkins-test-vm/etc/pbuilder/rebuild-hooks/D01_modify_environment
index bc769ef1..0b173672 100755
--- a/hosts/jenkins-test-vm/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/jenkins-test-vm/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -17,8 +17,8 @@ export CAPTURE_ENVIRONMENT="I capture the environment"
echo "I: Changing /bin/sh to bash" >&2
echo "dash dash/sh boolean false" | debconf-set-selections
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
-echo "I: Setting $USER's login shell to /bin/bash" >&2
-usermod -s /bin/bash $USER
+echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
+usermod -s /bin/bash $BUILDUSERNAME
# temporarily disable disorderfs as we have problems properly unmounting it
exit 0