Fix commands that should belong on the same line
Change-Id: I9dd82078e2aa94ee28a176d8c2fcb625d3d162e3
This commit is contained in:
@@ -105,17 +105,17 @@ Running beaker
|
|||||||
OS_TYPE='centos7'
|
OS_TYPE='centos7'
|
||||||
elif [ -f /usr/bin/apt-get ]; then
|
elif [ -f /usr/bin/apt-get ]; then
|
||||||
sudo apt-get update
|
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
|
ruby-dev build-essential
|
||||||
OS_TYPE='trusty'
|
OS_TYPE='trusty'
|
||||||
fi
|
fi
|
||||||
echo "" | sudo tee -a /etc/ssh/sshd_config
|
echo "" | sudo tee -a /etc/ssh/sshd_config
|
||||||
echo "Match address 127.0.0.1" | 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
|
/etc/ssh/sshd_config
|
||||||
echo "" | 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 "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
|
/etc/ssh/sshd_config
|
||||||
mkdir -p .ssh
|
mkdir -p .ssh
|
||||||
ssh-keygen -f ~/.ssh/id_rsa -b 2048 -C "beaker key" -P ""
|
ssh-keygen -f ~/.ssh/id_rsa -b 2048 -C "beaker key" -P ""
|
||||||
|
Reference in New Issue
Block a user