From 3f6aad7cbe2381384fc970e8ecabd8ea16c4306c Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Sat, 20 Nov 2021 13:52:29 +0100 Subject: [PATCH] Update default Debian repox --- setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index c5fef4d..c8d4244 100644 --- a/setup.sh +++ b/setup.sh @@ -94,7 +94,7 @@ hostname='pn1' fqdn='pn1.kto.black' keymap='fr' timezone='Europe/Paris' -deb_apt_default_repo='httpredir.debian.org' +deb_apt_default_repo='deb.debian.org' deb_apt_repo='ftp.fr.debian.org' user='alex' scan_user='scan' @@ -130,6 +130,6 @@ echo "* connect to http://$hostname:631/ and add a printer" echo "* set htop at your convenience" echo "* remove password for sudo" # TODO we should automate that, with a flag echo "* use below commands to edit SSH 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/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config" +echo " sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config" exit 0