2024-11-26 14:56:58 +00:00
|
|
|
packages:
|
|
|
|
- git
|
|
|
|
- lvm2
|
|
|
|
- linux-headers-amd64
|
|
|
|
- zfs-dkms
|
|
|
|
- zfsutils-linux
|
|
|
|
- ganeti
|
2024-12-09 12:51:59 +00:00
|
|
|
- ganeti-instance-debootstrap
|
2024-11-26 14:56:58 +00:00
|
|
|
- drbd-utils
|
|
|
|
- socat
|
|
|
|
- python3
|
2024-12-09 12:51:59 +00:00
|
|
|
- qemu-system-x86
|
2024-11-26 14:56:58 +00:00
|
|
|
- systemd-resolved # needs to be the last one
|
|
|
|
# breaks dns resolution until
|
|
|
|
# systemd-networkd is configured
|
|
|
|
|
|
|
|
# network
|
|
|
|
cluster_name: cluster.ganeti
|
|
|
|
|
|
|
|
interface_name: lan0
|
|
|
|
bridge_name: xenbr0
|
|
|
|
mac_prefix: "02:42:ac"
|
|
|
|
gateway: "192.168.50.254"
|
|
|
|
dns_servers:
|
|
|
|
- "192.168.11.1"
|
|
|
|
- "1.1.1.1"
|
|
|
|
|
|
|
|
# hostnames:
|
|
|
|
# - ip: x.x.x.x
|
|
|
|
# name: example
|
|
|
|
# ...
|
|
|
|
hostnames:
|
|
|
|
- ip: "192.168.50.30"
|
|
|
|
name: "{{ cluster_name }}"
|
|
|
|
- ip: "192.168.50.31"
|
|
|
|
name: test-31.ganeti
|
|
|
|
- ip: "192.168.50.32"
|
|
|
|
name: test-32.ganeti
|
|
|
|
- ip: "192.168.50.33"
|
|
|
|
name: test-33.ganeti
|
|
|
|
|
|
|
|
# storage
|
|
|
|
zpool_name: ganeti-pool
|
|
|
|
zpool_dev: /dev/vdc
|
|
|
|
|
|
|
|
vg_name: xenvg
|
|
|
|
pvs:
|
|
|
|
- /dev/vdb
|
2024-12-09 12:51:59 +00:00
|
|
|
|
|
|
|
# ganeti
|
|
|
|
instance_debootstrap:
|
|
|
|
- name: default
|
|
|
|
arch: amd64
|
|
|
|
suite: bookworm
|
|
|
|
extra_pkgs: "acpi-support-base,console-tools,udev,linux-image-amd64,sudo,vim,grub-pc,openssh-server"
|