[ubuntu24ls] fix: remove sudo remains

This commit is contained in:
Simon Cornet 2024-07-15 18:19:00 +02:00
parent b6f274248e
commit e77b7086c2

View File

@ -10,7 +10,7 @@ sudo -u root apt autoremove -y
cat << 'EOL' | sudo tee /etc/rc.local cat << 'EOL' | sudo tee /etc/rc.local
#!/bin/sh -ef #!/bin/sh -ef
# #
test -f /etc/ssh/ssh_host_dsa_key || sudo -u root dpkg-reconfigure openssh-server test -f /etc/ssh/ssh_host_dsa_key || dpkg-reconfigure openssh-server
exit 0 exit 0
EOL EOL
sudo -u root chmod +x /etc/rc.local sudo -u root chmod +x /etc/rc.local