diff --git a/.github/workflows/th1520.yml b/.github/workflows/th1520.yml index 893391f946e8d..0357117afaa6a 100644 --- a/.github/workflows/th1520.yml +++ b/.github/workflows/th1520.yml @@ -129,7 +129,7 @@ jobs: sudo mount root-lpi4amain-ci-${TIMESTAMP}.ext4 mnt sudo mount boot-lpi4amain-ci-${TIMESTAMP}.ext4 mnt/boot sudo chroot mnt sh -c "echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config" - sudo chroot mnt sh -c "echo 'PasswordAuthentication no' >> /etc/ssh/sshd_config" + sudo chroot mnt sh -c "echo root:root | chpasswd" sudo chroot mnt sh -c 'apt remove -y linux-image* linux-headers*' sudo dcmd cp -v ${GITHUB_WORKSPACE}/artifact/*.changes mnt/root sudo chroot mnt sh -c 'dpkg -i /root/*.deb'