bundlewrap/nodes/rx300.py

50 lines
1.2 KiB
Python
Raw Normal View History

2020-10-25 15:46:45 +00:00
# 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"
2020-10-25 12:54:19 +00:00
nodes['rx300'] = {
'hostname': '172.19.138.26',
2020-10-25 15:46:45 +00:00
'bundles': {
'zfs',
},
2020-10-25 12:54:19 +00:00
'groups': set(),
2020-10-25 15:46:45 +00:00
'metadata': {
2020-11-09 14:16:29 +00:00
'interfaces': {
'eth0': {
'ips': {
'172.19.138.26/24',
},
'gateway4': '172.19.138.1',
},
'eth1': {
'dhcp': True,
},
},
2020-10-25 15:46:45 +00:00
'zfs': {
2020-10-25 15:49:36 +00:00
'module_options': {
'zfs_arc_max_mb': 16384, # 16GB
},
2020-10-25 15:46:45 +00:00
'pools': {
'tank': {
'raidz': {
'/dev/sda',
'/dev/sdb',
'/dev/sdc',
'/dev/sdd',
},
},
},
},
'vm': {
'cpu': 32,
'ram': 378,
},
},
2020-10-25 12:54:19 +00:00
'os': 'debian',
'os_version': (10,),
}