Skip to content

Commit a4fe0eb

Browse files
committed
Add install steps
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 56281e8 commit a4fe0eb

3 files changed

Lines changed: 26 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
One-liner installer for [Apache CloudStack](https://cloudstack.apache.org)
44

55
```bash
6-
curl -sfL https://c8k.in/stall.sh | bash
6+
curl -sSfL https://c8k.in/stall.sh | bash
77
```

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
install.sh

install.sh

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
#!/bin/sh
1+
#!/usr/bin/env bash
2+
# c8k.in/stall.sh - Easiest Apache CloudStack Installer
3+
# Install with this command (from your Ubuntu host):
4+
#
5+
# curl -sSfL https://c8k.in/stall.sh | bash
6+
# Make sure you have `curl` installed
7+
#
8+
# Author: Rohit Yadav <rohit@apache.org>
9+
#
210
# Licensed to the Apache Software Foundation (ASF) under one
311
# or more contributor license agreements. See the NOTICE file
412
# distributed with this work for additional information
@@ -18,3 +26,18 @@
1826

1927
set -e
2028
set -o noglob
29+
30+
# --- helper functions for logs ---
31+
info()
32+
{
33+
echo '[INFO] ' "$@"
34+
}
35+
warn()
36+
{
37+
echo '[WARN] ' "$@" >&2
38+
}
39+
fatal()
40+
{
41+
echo '[ERROR] ' "$@" >&2
42+
exit 1
43+
}

0 commit comments

Comments
 (0)