#!/bin/bash PUB_URL="https://example.com/" REMOTE="remote:path/" cat >/tmp/cloud.conf </dev/null | bash export ID=\$(curl http://169.254.169.254/metadata/v1/id 2>/dev/null) export URL="$1" mkdir -p /root/.config/rclone cat > /root/.config/rclone/rclone.conf <