This is a sample script that contains the commands to set up the Mega-POP VM.

setup-megapop.sh Script

curl -s https://get.docker.com | sh
mkdir -p /etc/docker && echo { \"graph\":\"/data/mydocker\" } >> /etc/docker/daemon.json
systemctl start docker && systemctl enable docker
yum update -y
yum install -y ntp
systemctl start ntpd && systemctl enable ntpd
sudo iptables -I INPUT -p tcp -m tcp --dport 9443 -j ACCEPT
sudo firewall-cmd --zone=public --add-port=9443/tcp --permanent
sudo firewall-cmd --reload