templates_cloud-init--app-servers.j2.md
#!/bin/bash
dd if=/dev/zero of=/swapfile bs=1M count=2048
chmod 0600 /swapfile
mkswap /swapfile
swapon /swapfile
echo '/swapfile none swap sw 0 0' >> /etc/fstab
ip route add default via {{ nat_gateway.ip }}
Last updated
