Update default Debian repox

This commit is contained in:
Alexandre CATTEAU 2021-11-20 13:52:29 +01:00
parent 6fa46da763
commit 3f6aad7cbe

View File

@ -94,7 +94,7 @@ hostname='pn1'
fqdn='pn1.kto.black' fqdn='pn1.kto.black'
keymap='fr' keymap='fr'
timezone='Europe/Paris' timezone='Europe/Paris'
deb_apt_default_repo='httpredir.debian.org' deb_apt_default_repo='deb.debian.org'
deb_apt_repo='ftp.fr.debian.org' deb_apt_repo='ftp.fr.debian.org'
user='alex' user='alex'
scan_user='scan' scan_user='scan'
@ -130,6 +130,6 @@ echo "* connect to http://$hostname:631/ and add a printer"
echo "* set htop at your convenience" echo "* set htop at your convenience"
echo "* remove password for sudo" # TODO we should automate that, with a flag echo "* remove password for sudo" # TODO we should automate that, with a flag
echo "* use below commands to edit SSH config:" echo "* use below commands to edit SSH config:"
echo "sed -i 's/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config" echo " sed -i 's/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config"
echo "sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config" echo " sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config"
exit 0 exit 0