Skip to content

Commit 9c1634b

Browse files
Update test matrix with Ubuntu 24.04
1 parent 8c3c818 commit 9c1634b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,11 +333,10 @@ jobs:
333333
- name: Enable password login
334334
run: sudo lxc exec test-container -- sh -c 'sed -i "s/PasswordAuthentication no/PasswordAuthentication yes/" /etc/ssh/sshd_config.d/*'
335335

336-
- name: Reload OpenSSH
337-
run: sudo lxc exec test-container -- systemctl list-units | grep ssh
338-
339336
- name: Reload OpenSSH
340337
run: sudo lxc exec test-container -- systemctl reload sshd
338+
# in 24.04 ssh is socket activated (by systemd)
339+
if: ${{ matrix.guest < '24.04' }}
341340

342341
- name: Install sshpass on runner
343342
run: sudo apt-get -y install sshpass

0 commit comments

Comments
 (0)