Skip to content

Instantly share code, notes, and snippets.

@reiven
reiven / wuhu-install.sh
Last active April 27, 2020 19:07 — forked from Gargaj/wuhu-install.sh
Install script for Wuhu (tested on Debian)
#!/bin/bash
# install script for http://wuhu.function.hu/
if [ "$EUID" -ne 0 ]
then
echo "[wuhu] ERROR: This script needs to install a bunch of things, so please run as root"
exit
fi
echo "[wuhu] Installing packages..."
#!/usr/bin/python
from azure.storage import BlobService
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("container", help="the blob container")
parser.add_argument("blob", help="the blob name")
parser.add_argument(
"-s", "--snapshot", help="take a new snapshot", action="store_true"