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

17
vm_example_scripts/k8s.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
VM_BASE_DIR=${VM_BASE_DIR:-"${HOME}/vms"}
VM_USER="user"
VM=$1
VM_IP=$(bash ../base_scripts/vm_get_ip.sh ${VM})
scp -i ${VM_BASE_DIR}/ssh/${VM} \
-r k8s \
${VM_USER}@${VM_IP}:k8s
clear
echo "############################"
echo "Connecting to VM, execute:"
echo "cd k8s"
echo "01_install_packages.sh"
echo "02_basic_deploys.sh"
echo "###########################"
cd ../base_scripts
bash -x vm_connect.sh ${VM}