bundlewrap/nodes/rx300.py
Franziska Kunsmann 1e13e632c9
All checks were successful
bundlewrap/pipeline/head This commit looks good
nodes/rx300: remove lldp, set correct ip
2021-06-11 15:02:43 +02:00

98 lines
2.6 KiB
Python

# To be put into Colocation.
# To use the serial console in iRMC, set up grub as follows:
# GRUB_TIMEOUT=30
# GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0,115200 console=tty0"
# GRUB_TERMINAL=serial
# GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
nodes['rx300'] = {
'hostname': '31.47.232.106',
'bundles': {
'lm-sensors',
'smartd',
'vmhost',
'zfs',
},
'groups': {
'debian-buster',
},
'metadata': {
'interfaces': {
# from the back: [IPMI] [eth1] [eth0]
'br0': {
'ips': {
'172.19.138.26/24',
'31.47.232.106/29',
'2a00:f820:528::2/64',
},
'gateway4': '31.47.232.105',
'gateway6': '2a00:f820:528::1',
},
},
'apt': {
'packages': {
'ipmitool': {},
},
},
'icinga_options': {
# TODO remove once this is no longer at home
'vars.notification.sms': False,
},
'backups': {
'exclude_from_backups': True,
},
'smartd': {
'disks': {
'/dev/nvme0',
},
},
'systemd-networkd': {
'bridges': {
'br0': {
'match': {
'eth0',
'eth1',
},
},
},
},
'users': {
'kunsi': {
'groups': {
'libvirt',
},
'ssh_pubkey': {
# work laptop
'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPM68t1Ssf0c9dEkYOEXllUQ0aybPsW3aQAJuWpUHPlt',
'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICYst1HK+gJYhNxzqJGnz4iB73pa89Xz2yH+8wufOcsA',
},
},
},
'zfs': {
'module_options': {
'zfs_arc_max_mb': 16384, # 16GB
},
'pools': {
'tank': {
'raidz': {
'/dev/sda',
'/dev/sdb',
'/dev/sdc',
'/dev/sdd',
},
},
},
'datasets': {
'tank/libvirt': {
'mountpoint': '/var/lib/libvirt',
'compression': 'on',
},
},
},
'vm': {
'cpu': 32,
'ram': 256,
},
},
}