Skip to content

liamsorsby/homelab-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

Basic, but overly complex mess of a configuration for homelab. The idea was to get something up and working with argocd so that we can start deploying things in a nicer way.

Notes

  • Currently using the below script to create a VM template for use with terraform until I work out packer.

Template created with the following script

Set test password & install packages

virt-customize -a /mnt/pve/SynologyNFS/template/iso/focal-server-cloudimg-amd64.img --root-password password:changeme --install qemu-guest-agent,ncat,net-tools,bash-completion
export VM_ID="9000"
qm create 9000 --memory 2048 --net0 virtio,bridge=vmbr0 --sockets 1 --cores 2 --vcpu 2  -hotplug network,disk,cpu,memory --agent 1 --name cloud-init-focal --ostype l26
qm importdisk $VM_ID /mnt/pve/SynologyNFS/template/iso/focal-server-cloudimg-amd64.img LVM
qm set $VM_ID --scsihw virtio-scsi-pci --virtio0 LVM:vm-$VM_ID-disk-0
qm set $VM_ID --ide2 LVM:cloudinit
qm set $VM_ID --boot c --bootdisk virtio0
qm set $VM_ID --serial0 socket
qm template $VM_ID

Notes

  • had to change kube-proxy to ipvs mode manually by adding the following to the daemon-set container command: - --proxy-mode=ipvs

About

Terraform and Packer code for homelab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published