This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-installer.git

commit a4fe0eba7abd2c92f207aac63da67fe75d1f08a2
Author: Rohit Yadav <[email protected]>
AuthorDate: Mon May 13 11:21:28 2024 +0000

    Add install steps
    
    Signed-off-by: Rohit Yadav <[email protected]>
---
 README.md  |  2 +-
 index.html |  1 +
 install.sh | 25 ++++++++++++++++++++++++-
 3 files changed, 26 insertions(+), 2 deletions(-)

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 <[email protected]>
+#
 # 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
+}

Reply via email to