#!/bin/bash

RCLONE_VER='v1.65.2'

cd "${HOME}" && \
apt update && \
apt install -y nginx-extras python3-certbot-nginx openvswitch-switch-dpdk linux-image-extra-virtual-hwe-22.04-edge rclone && \
wget "https://kr.mirrors.naho.moe/naho/rclone/${RCLONE_VER}/rclone-${RCLONE_VER}-linux-amd64.deb" && \
dpkg -i "rclone-${RCLONE_VER}-linux-amd64.deb" && \
rm -f "rclone-${RCLONE_VER}-linux-amd64.deb" && \
echo '' && \
echo '====== Finished ======' && \
echo '' && \
echo ''
