diff --git a/nodes/aurto.py b/nodes/aurto.py new file mode 100644 index 0000000..f0c441b --- /dev/null +++ b/nodes/aurto.py @@ -0,0 +1,41 @@ +nodes['aurto'] = { + 'hostname': '172.19.138.28', + 'bundles': { + 'lldp', + }, + 'groups': { + 'arch', + }, + 'metadata': { + 'icinga_options': { + #'exclude_from_monitoring': False, + 'also_affected_by': { + 'rx300', + }, + }, + 'interfaces': { + 'enp1s0': { + 'ips': { + '172.19.138.28/24', + }, + 'gateway4': '172.19.138.1', + }, + }, + 'sudo': { + 'extra_configs': { + '50_aurto_passwordless': { + '%wheel ALL=(ALL) NOPASSWD: /usr/bin/arch-nspawn', + '%wheel ALL=(ALL) NOPASSWD: /usr/bin/pacsync aurto', + '%wheel ALL=(ALL) NOPASSWD:SETENV: /usr/bin/makechrootpkg', + }, + }, + }, + 'users': { + 'kunsi': { + 'groups': { + 'wheel', + }, + }, + }, + }, +} diff --git a/nodes/rx300.py b/nodes/rx300.py index 7480834..d75728e 100644 --- a/nodes/rx300.py +++ b/nodes/rx300.py @@ -11,6 +11,7 @@ nodes['rx300'] = { 'bundles': { 'lldp', # TODO remove once this is no longer at home 'smartd', + 'vmhost', 'zfs', }, 'groups': { @@ -18,7 +19,7 @@ nodes['rx300'] = { }, 'metadata': { 'interfaces': { - 'bond0': { + 'br0': { 'ips': { '172.19.138.26/24', }, @@ -49,9 +50,19 @@ nodes['rx300'] = { }, }, }, + 'bridges': { + 'br0': { + 'match': { + 'bond0', + }, + }, + }, }, 'users': { 'kunsi': { + 'groups': { + 'libvirt', + }, 'ssh_pubkey': { # work laptop 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPM68t1Ssf0c9dEkYOEXllUQ0aybPsW3aQAJuWpUHPlt', @@ -73,6 +84,12 @@ nodes['rx300'] = { }, }, }, + 'datasets': { + 'tank/libvirt': { + 'mountpoint': '/var/lib/libvirt', + 'compression': 'on', + }, + }, }, 'vm': { 'cpu': 32,