Skip to content

Commit

Permalink
Merge pull request #28596 from sairameshv/evented_pleg_fix
Browse files Browse the repository at this point in the history
Fix SSH Keys issue in the crio evented pleg presubmit ci job
  • Loading branch information
k8s-ci-robot authored Jan 31, 2023
2 parents 2798ab8 + 4f9c339 commit b38e5d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jobs/e2e_node/crio/crio_evented_pleg.ign
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
},
"systemd": {
"units": [
{
"contents": "[Unit]\nDescription=Copy authorized keys\nBefore=crio-install.service\nAfter=network-online.target\n\n[Service]\nType=oneshot\nExecStart=/bin/sh -c '/usr/bin/mkdir -m 0700 -p /home/core/.ssh && /usr/bin/cat /etc/ssh-key-secret/ssh-public >> /home/core/.ssh/authorized_keys && chown -R core:core /home/core/.ssh && chmod 0600 /home/core/.ssh/authorized_keys'\n\n[Install]\nWantedBy=multi-user.target\n",
"enabled": true,
"name": "authorized-key.service"
},
{
"contents": "[Unit]\nDescription=Download and install dbus-tools.\nBefore=crio-install.service\nAfter=network-online.target\n\n[Service]\nType=oneshot\nExecStart=/usr/bin/rpm-ostree install --apply-live --allow-inactive dbus-tools\n\n[Install]\nWantedBy=multi-user.target\n",
"enabled": true,
Expand Down

0 comments on commit b38e5d6

Please sign in to comment.