main
parent
f85e315ddd
commit
7b754cf9af
10
install.sh
10
install.sh
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue