File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33One-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```
Original file line number Diff line number Diff line change 1+ install.sh
Original file line number Diff line number Diff line change 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
1826
1927set -e
2028set -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+ }
You can’t perform that action at this time.
0 commit comments