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 41fd53425a9eacad1f65a0c0dd4f755dcf06b8e2 Author: Rohit Yadav <[email protected]> AuthorDate: Mon May 13 11:54:33 2024 +0000 install.sh WIP script started Signed-off-by: Rohit Yadav <[email protected]> --- install.sh | 48 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 45 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 497995b..969e696 100644 --- a/install.sh +++ b/install.sh @@ -1,11 +1,9 @@ #!/usr/bin/env bash # c8k.in/stall.sh - Easiest Apache CloudStack Installer +# Author: Rohit Yadav <[email protected]> # 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 @@ -41,3 +39,47 @@ fatal() echo '[ERROR] ' "$@" >&2 exit 1 } + +### Intro ### +echo " +░█████╗░░█████╗░██╗░░██╗░░░██╗███╗░░██╗ +██╔══██╗██╔══██╗██║░██╔╝░░░██║████╗░██║ +██║░░╚═╝╚█████╔╝█████═╝░░░░██║██╔██╗██║ +██║░░██╗██╔══██╗██╔═██╗░░░░██║██║╚████║ +╚█████╔╝╚█████╔╝██║░╚██╗██╗██║██║░╚███║ +░╚════╝░░╚════╝░╚═╝░░╚═╝╚═╝╚═╝╚═╝░░╚══╝ +CloudStack Installer By 🅁🄾🄷🄸🅃 🅈🄰🄳🄰🅅 +" +info "Installing Apache CloudStack All-In-One-Box" +info "NOTE: this works only on Ubuntu!" +warn "Work in progress, try again while this is being hacked" + +### Setup Prerequisites ### +info "Installing dependencies" +apt-get update +apt-get install -y openssh-server sudo vim htop tar bridge-utils + +### Setup Bridge ### + +echo " network: + version: 2 + renderer: networkd + ethernets: + eno1: + dhcp4: false + dhcp6: false + optional: true + bridges: + cloudbr0: + addresses: [192.168.1.10/24] + routes: + - to: default + via: 192.168.1.1 + nameservers: + addresses: [1.1.1.1,8.8.8.8] + interfaces: [eno1] + dhcp4: false + dhcp6: false + parameters: + stp: false + forward-delay: 0"
