main
parent
f85e315ddd
commit
7b754cf9af
10
install.sh
10
install.sh
|
@ -16,11 +16,11 @@ function is_x64 {
|
|||
|
||||
function choose_packages {
|
||||
if is_x64 ; then
|
||||
print_ylw "[ with docker ]"
|
||||
packages="curl git nmap tcpdump net-tools wireguard tmux mc docker docker-compose"
|
||||
print_ylw "[ install with docker ]"
|
||||
packages="curl openssh-server iptables git nmap tcpdump net-tools wireguard tmux mc docker docker-compose"
|
||||
else
|
||||
print "[ without docker ]"
|
||||
packages="curl git nmap tcpdump net-tools wireguard tmux"
|
||||
print_ylw "[ install without docker ]"
|
||||
packages="curl openssh-server iptables git nmap tcpdump net-tools wireguard tmux"
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -72,7 +72,7 @@ function restart_sshd {
|
|||
|
||||
function install_packages {
|
||||
print_ylw "[ packages installation: $packages ]"
|
||||
apt install $packages
|
||||
apt install $packages -y
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue