Files
T
2022-07-31 16:46:19 +01:00

26 lines
484 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
if [ -f /usr/bin/apt ]; then
## Ubuntu
echo "\
iptables \
openssh-client \
python3 \
python3-pip" >> /mod-repo-packages-to-install.list
fi
if [ -f /sbin/apk ]; then
# Alpine
echo "\
iptables \
openssh \
python3 \
py3-pip" >> /mod-repo-packages-to-install.list
fi
echo "\
sshuttle" >> /mod-pip-packages-to-install.list
chown -R root:root /root
chmod -R 600 /root/.ssh