ubuntu 2024-11-21 02:42:11 +03:00
parent f85e315ddd
commit 7b754cf9af
1 changed files with 5 additions and 5 deletions

View File

@ -16,11 +16,11 @@ function is_x64 {
function choose_packages { function choose_packages {
if is_x64 ; then if is_x64 ; then
print_ylw "[ with docker ]" print_ylw "[ install with docker ]"
packages="curl git nmap tcpdump net-tools wireguard tmux mc docker docker-compose" packages="curl openssh-server iptables git nmap tcpdump net-tools wireguard tmux mc docker docker-compose"
else else
print "[ without docker ]" print_ylw "[ install without docker ]"
packages="curl git nmap tcpdump net-tools wireguard tmux" packages="curl openssh-server iptables git nmap tcpdump net-tools wireguard tmux"
fi fi
} }
@ -72,7 +72,7 @@ function restart_sshd {
function install_packages { function install_packages {
print_ylw "[ packages installation: $packages ]" print_ylw "[ packages installation: $packages ]"
apt install $packages apt install $packages -y
} }