initial commit with basic vagrant stuff

This commit is contained in:
2024-05-30 14:30:09 +02:00
parent 8b4e92fbae
commit 18662bae87
6 changed files with 234 additions and 0 deletions

16
ansible/readme.md Normal file
View File

@@ -0,0 +1,16 @@
```bash
# install some prerequisities for kvm
sudo apt -y install bridge-utils cpu-checker libvirt-clients libvirt-daemon qemu qemu-kvm
# create LVM and filesystem
lvcreate -L 500G -n vms ubuntu-vg
mkfs.ext4 /dev/mapper/ubuntu--vg-vms
# mount it in fstab
# /dev/mapper/ubuntu--vg-vms /srv/vms ext4 defaults 0 0
# install vagrant
apt install vagrant
```