Add install steps Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
diff --git a/README.md b/README.md index 85a9a44..5c3d592 100644 --- a/README.md +++ b/README.md
@@ -3,5 +3,5 @@ One-liner installer for [Apache CloudStack](https://cloudstack.apache.org) ```bash -curl -sfL https://c8k.in/stall.sh | bash +curl -sSfL https://c8k.in/stall.sh | bash ```
diff --git a/index.html b/index.html new file mode 120000 index 0000000..61e71e2 --- /dev/null +++ b/index.html
@@ -0,0 +1 @@ +install.sh \ No newline at end of file
diff --git a/install.sh b/install.sh index b17b99b..497995b 100644 --- a/install.sh +++ b/install.sh
@@ -1,4 +1,12 @@ -#!/bin/sh +#!/usr/bin/env bash +# c8k.in/stall.sh - Easiest Apache CloudStack Installer +# Install with this command (from your Ubuntu host): +# +# curl -sSfL https://c8k.in/stall.sh | bash +# Make sure you have `curl` installed +# +# Author: Rohit Yadav <rohit@apache.org> +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -18,3 +26,18 @@ set -e set -o noglob + +# --- helper functions for logs --- +info() +{ + echo '[INFO] ' "$@" +} +warn() +{ + echo '[WARN] ' "$@" >&2 +} +fatal() +{ + echo '[ERROR] ' "$@" >&2 + exit 1 +}