#!/bin/bash

ACCESS_KEY=""
SECRET_KEY=""
S3_HOST=""


cat >> /root/.s3cfg << EOF
[default]
access_key = ${ACCESS_KEY}
secret_key = ${SECRET_KEY}
host_base = ${S3_HOST}
host_bucket = ${S3_HOST}/%(bucket)
use_https = False
EOF


