Update debian.sh
This commit is contained in:
parent
c4e85e5974
commit
92809914cc
@ -134,7 +134,7 @@ function install_packages() {
|
||||
bash-completion git whois rsyslog \
|
||||
fail2ban iptables haveged gnupg vnstat lrzsz jq \
|
||||
unattended-upgrades apt-listchanges \
|
||||
htop iftop p7zip-full
|
||||
htop iftop p7zip-full systemd-timesyncd
|
||||
printf "\E[0;35;40m"
|
||||
echo '### Updating system... ###'
|
||||
printf "\E[0m"
|
||||
@ -353,7 +353,7 @@ function add_docker_repo() {
|
||||
echo '### Add Docker CE repo ###'
|
||||
printf "\E[0m"
|
||||
curl -sS https://download.docker.com/linux/debian/gpg | gpg --dearmor > /usr/share/keyrings/docker-ce.gpg
|
||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-ce.gpg] https://mirror-cdn.xtom.com/docker-ce/linux/debian $(lsb_release -sc) stable" > /etc/apt/sources.list.d/docker.list
|
||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-ce.gpg] https://download.docker.com/linux/debian $(lsb_release -sc) stable" > /etc/apt/sources.list.d/docker.list
|
||||
printf "\E[0;33;40m"
|
||||
echo "### Docker CE repo added ###"
|
||||
printf "\E[0m"
|
||||
|
Loading…
Reference in New Issue
Block a user