Skip to content

Releases: jenkins-infra/packer-images

jenkins-agent-ubuntu-18-amd64-azure-0.0.1

25 May 09:52
e145c33
Compare
Choose a tag to compare
feat: fine tune OpenSSH for Jenkins agents (#66)

- Preload existing public SSH keys for faster agent startups
- Provides a script on each platform to allow injection of new
  public key at boot

Linux example for AWS:

```yaml
runcmd:
  # Add the instance key to the jenkins user
  - /usr/local/bin/add_auth_key_to_user.sh "$(curl -sSL http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key)" jenkins
```

Windows example for AWS:

```powershell
<powershell>
$instanceKey = Invoke-RestMethod -uri 'http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key'
C:\addSSHPubKey.ps1 "${instanceKey}" "Administrator"
</powershell>
```

Signed-off-by: Damien Duportal <[email protected]>

jenkins-agent-ubuntu-18-amd64-aws-ami-07cb85d18c62e68a9

25 May 09:51
e145c33
Compare
Choose a tag to compare
feat: fine tune OpenSSH for Jenkins agents (#66)

- Preload existing public SSH keys for faster agent startups
- Provides a script on each platform to allow injection of new
  public key at boot

Linux example for AWS:

```yaml
runcmd:
  # Add the instance key to the jenkins user
  - /usr/local/bin/add_auth_key_to_user.sh "$(curl -sSL http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key)" jenkins
```

Windows example for AWS:

```powershell
<powershell>
$instanceKey = Invoke-RestMethod -uri 'http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key'
C:\addSSHPubKey.ps1 "${instanceKey}" "Administrator"
</powershell>
```

Signed-off-by: Damien Duportal <[email protected]>