Uploaded from github, added FreeBSD VMs support

This commit is contained in:
2024-07-03 16:08:50 +02:00
parent 65b998560f
commit cc437fa204
32 changed files with 2269 additions and 195 deletions

13
vm_example_scripts/gitlab_ce.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
#SOURCE: https://about.gitlab.com/install/#debian
export DEBIAN_FRONTEND=noninteractive
NET_DEVICE='enp1s0'
GITLAB_URL=$(ip -o -4 addr list ${NET_DEVICE} | awk '{print $4}' | cut -d/ -f1)
#Base dependencies
sudo apt-get update
sudo apt-get install -y curl openssh-server ca-certificates perl
#OPTIONAL: postfix
#sudo apt-get install -y postfix
#Add gitlab repo
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo EXTERNAL_URL="${GITLAB_URL}" apt-get install gitlab-ee