Remove un-used contents for scailing 67/212067/1
authorHyokeun Jeon <hyokeun.jeon@samsung.com>
Wed, 14 Aug 2019 02:27:16 +0000 (11:27 +0900)
committerHyokeun Jeon <hyokeun.jeon@samsung.com>
Wed, 14 Aug 2019 02:27:16 +0000 (11:27 +0900)
Change-Id: I65c5db918bf08cdf0a395ace4b55ac5d68456cff

job_control_ondemand_slaves.groovy

index a5e5dbf..e526c20 100644 (file)
@@ -157,7 +157,6 @@ sed -i "s/[0-9]\\+/0/g" /etc/apt/apt.conf.d/20auto-upgrades
 sed -i "s/[0-9]\\+/0/g" /etc/apt/apt.conf.d/10periodic
 sed -i "s/^\t/\\/\\/\t/g" /etc/apt/apt.conf.d/50unattended-upgrades
 echo "${fileContents}" >> /home/${this.remote_user()}/.ssh/id_rsa
-echo "${fileContentsKnownHosts}" >> /home/${this.remote_user()}/.ssh/known_hosts
 echo "User ${this.remote_user()}" > /home/${this.remote_user()}/.ssh/config
 echo "IdentityFile /home/${this.remote_user()}/.ssh/id_rsa" >> /home/${this.remote_user()}/.ssh/config
 chown -R ${this.remote_user()}:${this.remote_user()} ${this.remote_fs()}