Skip to content

Commit

Permalink
Update th1520.yml
Browse files Browse the repository at this point in the history
set password for the root
  • Loading branch information
hhuan10 authored May 15, 2024
1 parent 10cf352 commit 5a643f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/th1520.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 5a643f9

Please sign in to comment.