Skip to content

Commit b6889a5

Browse files
committed
buildslave/bootstrap.sh: useradd cfpostgress
Some tests require this user to exist. Ticket: ENT-12603 Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
1 parent 8357429 commit b6889a5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

buildslave/bootstrap.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ cat /vagrant/keys/insecure.pub >> /home/build/.ssh/authorized_keys # Add ins
5555
chown build:build /home/build/.ssh/authorized_keys
5656
chmod 600 /home/build/.ssh/authorized_keys
5757

58+
# Needed for some tests to pass
59+
useradd cfpostgress
60+
5861
echo "" >> /etc/ssh/sshd_config
5962
echo "passwordAuthentication no" >> /etc/ssh/sshd_config
6063
echo "AuthorizedKeysFile %h/.ssh/authorized_keys" >> /etc/ssh/sshd_config

0 commit comments

Comments
 (0)