Simple Script-Based CloudStack Installer #9953
Replies: 10 comments 3 replies
-
Add support for VLAN and bonding. Currently, the script removes the existing VLAN and bonding configuration from the 01-netcfg.yaml file. Thanks. |
Beta Was this translation helpful? Give feedback.
-
don't hardcode ens0 interface name :) |
Beta Was this translation helpful? Give feedback.
-
@rohityadavcloud I am currently testing it on WSL Ubuntu 22.04.5 LTS |
Beta Was this translation helpful? Give feedback.
-
Testing on Ubuntu 24.04 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
generate_password() {
openssl </dev/null >/dev/null 2>/dev/null
if [ $? -eq 0 ]
then
passwd=`openssl rand -base64 40 | tr -d '/' | cut -c1-32 `
fi
if [ -z "$passwd" ]
then
passwd=`dd if=/dev/urandom bs=32 count=1 2>/dev/null | od -x | head -n 1 | tr -d ' ' | cut -c8-40`
fi
if [ -z "$passwd" ]
then
passwd="password"
fi
echo "$passwd"
}
PASSWD=$(generate_password) # Random password with 32 characters |
Beta Was this translation helpful? Give feedback.
-
may support more OSes , for example RHEL 8/9 and variants ? |
Beta Was this translation helpful? Give feedback.
-
On WSL, added this line just after the creation of /etc/netplan/01-netcfg.yaml to fix a permission issue : |
Beta Was this translation helpful? Give feedback.
-
The installer keeps breaking the Internet connection of WSL, I’m still trying to figure out why. |
Beta Was this translation helpful? Give feedback.
-
I have made a modest pull request that improves some network handling (including hardcoded ens3) and some mysql handling. This was (unfortunately) tested on VMware hosted VM with nested virtualization :) |
Beta Was this translation helpful? Give feedback.
-
Test and explore https://github.com/rohityadavcloud/c8k.in, add/report issues & send pull requests.
The ultimate goal is to allow (in future) anybody wanting to try CloudStack by simply doing:
Beta Was this translation helpful? Give feedback.
All reactions