[MERGED] osmo-gsm-manuals[master]: osmo-gsm-tester: jenkins fixes: install JDK, SSH instructions

2017-07-18 Thread Harald Welte
Harald Welte has submitted this change and it was merged.

Change subject: osmo-gsm-tester: jenkins fixes: install JDK, SSH instructions
..


osmo-gsm-tester: jenkins fixes: install JDK, SSH instructions

Add instructions to install Java JDK for jenkins build slave.
Minor fixes to SSH key instructions.

Change-Id: Ib2c1adc2ddee3be016e4d253451593b19dbe133a
---
M OsmoGSMTester/chapters/install.adoc
1 file changed, 11 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/OsmoGSMTester/chapters/install.adoc 
b/OsmoGSMTester/chapters/install.adoc
index b703498..0c69dcd 100644
--- a/OsmoGSMTester/chapters/install.adoc
+++ b/OsmoGSMTester/chapters/install.adoc
@@ -64,6 +64,15 @@
 useradd -m jenkins
 
 
+ Install Java on Main Unit
+
+To be able to launch the Jenkins build slave, a Java RE must be available on
+the main unit. For example:
+
+
+apt-get install default-jdk
+
+
  Allow SSH Access from Jenkins Master
 
 Create an SSH keypair to be used for login on the osmo-gsm-tester. This may be
@@ -73,6 +82,7 @@
 
 
 # su jenkins
+$ mkdir -p /usr/local/jenkins/keys
 $ ssh-keygen
 Generating public/private rsa key pair.
 Enter file in which to save the key (/home/jenkins/.ssh/id_rsa): 
/usr/local/jenkins/keys/osmo-gsm-tester-rnd
@@ -122,7 +132,7 @@
 
 su jenkins
 main_unit_ip=10.9.8.7
-ssh jenkins@$main_unit_ip
+ssh -i /usr/local/jenkins/keys/osmo-gsm-tester-rnd jenkins@$main_unit_ip
 exit
 
 

-- 
To view, visit https://gerrit.osmocom.org/3266
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib2c1adc2ddee3be016e4d253451593b19dbe133a
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


osmo-gsm-manuals[master]: osmo-gsm-tester: jenkins fixes: install JDK, SSH instructions

2017-07-18 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/3266
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib2c1adc2ddee3be016e4d253451593b19dbe133a
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


[PATCH] osmo-gsm-manuals[master]: osmo-gsm-tester: jenkins fixes: install JDK, SSH instructions

2017-07-17 Thread Neels Hofmeyr

Review at  https://gerrit.osmocom.org/3266

osmo-gsm-tester: jenkins fixes: install JDK, SSH instructions

Add instructions to install Java JDK for jenkins build slave.
Minor fixes to SSH key instructions.

Change-Id: Ib2c1adc2ddee3be016e4d253451593b19dbe133a
---
M OsmoGSMTester/chapters/install.adoc
1 file changed, 11 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals 
refs/changes/66/3266/1

diff --git a/OsmoGSMTester/chapters/install.adoc 
b/OsmoGSMTester/chapters/install.adoc
index b703498..0c69dcd 100644
--- a/OsmoGSMTester/chapters/install.adoc
+++ b/OsmoGSMTester/chapters/install.adoc
@@ -64,6 +64,15 @@
 useradd -m jenkins
 
 
+ Install Java on Main Unit
+
+To be able to launch the Jenkins build slave, a Java RE must be available on
+the main unit. For example:
+
+
+apt-get install default-jdk
+
+
  Allow SSH Access from Jenkins Master
 
 Create an SSH keypair to be used for login on the osmo-gsm-tester. This may be
@@ -73,6 +82,7 @@
 
 
 # su jenkins
+$ mkdir -p /usr/local/jenkins/keys
 $ ssh-keygen
 Generating public/private rsa key pair.
 Enter file in which to save the key (/home/jenkins/.ssh/id_rsa): 
/usr/local/jenkins/keys/osmo-gsm-tester-rnd
@@ -122,7 +132,7 @@
 
 su jenkins
 main_unit_ip=10.9.8.7
-ssh jenkins@$main_unit_ip
+ssh -i /usr/local/jenkins/keys/osmo-gsm-tester-rnd jenkins@$main_unit_ip
 exit
 
 

-- 
To view, visit https://gerrit.osmocom.org/3266
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib2c1adc2ddee3be016e4d253451593b19dbe133a
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr