diff --git a/jenkins/1-create-user.sh b/jenkins/1-create-user.sh index 06f8b62..eac21d3 100755 --- a/jenkins/1-create-user.sh +++ b/jenkins/1-create-user.sh @@ -1,6 +1,6 @@ #!/bin/bash -groupadd ubuntu +groupadd ubuntu # useradd -g ubuntu -G admin -s /bin/bash -d /home/ubuntu ubuntu mkdir -p /home/ubuntu cp -r /root/.ssh /home/ubuntu/.ssh diff --git a/jenkins/2-jenkins-install.sh b/jenkins/2-jenkins-install.sh index 736bcc0..a29898d 100755 --- a/jenkins/2-jenkins-install.sh +++ b/jenkins/2-jenkins-install.sh @@ -1,5 +1,5 @@ #!/bin/bash - +# sudo apt-get update sudo apt-get -y install openjdk-8-jdk wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -