Fix commands that should belong on the same line

Change-Id: I9dd82078e2aa94ee28a176d8c2fcb625d3d162e3
This commit is contained in:
Jake Yip 2020-09-07 17:57:45 +10:00
parent 8259aaedf6
commit 5a11e359b2
1 changed files with 3 additions and 3 deletions

View File

@ -105,17 +105,17 @@ Running beaker
OS_TYPE='centos7'
elif [ -f /usr/bin/apt-get ]; then
sudo apt-get update
sudo apt-get install -y libxml2-dev libxslt-dev zlib1g-dev git ruby
sudo apt-get install -y libxml2-dev libxslt-dev zlib1g-dev git ruby \
ruby-dev build-essential
OS_TYPE='trusty'
fi
echo "" | sudo tee -a /etc/ssh/sshd_config
echo "Match address 127.0.0.1" | sudo tee -a /etc/ssh/sshd_config
echo " PermitRootLogin without-password" | sudo tee -a
echo " PermitRootLogin without-password" | sudo tee -a \
/etc/ssh/sshd_config
echo "" | sudo tee -a /etc/ssh/sshd_config
echo "Match address ::1" | sudo tee -a /etc/ssh/sshd_config
echo " PermitRootLogin without-password" | sudo tee -a
echo " PermitRootLogin without-password" | sudo tee -a \
/etc/ssh/sshd_config
mkdir -p .ssh
ssh-keygen -f ~/.ssh/id_rsa -b 2048 -C "beaker key" -P ""