nimbus.holesky: add IPv6 addresses and netplan role

https://github.com/status-im/infra-nimbus/issues/176

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-03-20 13:34:58 +01:00
parent 2ad97c7be4
commit 581336eff8
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
33 changed files with 382 additions and 0 deletions

View File

@ -14,6 +14,10 @@
serial: '{{ serial|default(1) }}'
hosts: nimbus.holesky
vars_files: layout/holesky.yml
roles:
- role: update-netplan
tags: update-netplan
when: ansible_system == 'Linux'
tasks:
- include_role: name=infra-role-beacon-node-linux
with_items: '{{ nodes_layout[hostname] }}'

View File

@ -0,0 +1,8 @@
# Description
This role simply copies [Netplan](https://netplan.io/) config files for intended hosts.
This is necesssary because Innova Hosting does not provide addresses DHCP, network configuration is manualy done by support at first installation. We need to add IPv6 addresses to the hosts which need to be added separately.
For more details see the issue:
- https://github.com/status-im/infra-nimbus/issues/176

View File

@ -0,0 +1,10 @@
---
- name: Copy netplan config file
register: netplan
copy:
src: 'vars/addresses/{{ hostname }}.yml'
dest: '/etc/netplan/00-installer-config.yaml'
- name: Apply host netplan
when: netplan.changed
command: sudo netplan apply

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.148/24
- 2a0a:d580:40:60::10a/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.149/24
- 2a0a:d580:40:60::10b/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.151/24
- 2a0a:d580:40:60::10c/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.157/24
- 2a0a:d580:40:60::10d/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.241/24
- 2a0a:d580:40:60::10e/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.242/24
- 2a0a:d580:40:60::10f/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.243/24
- 2a0a:d580:40:60::110/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.244/24
- 2a0a:d580:40:60::111/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.245/24
- 2a0a:d580:40:60::112/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.246/24
- 2a0a:d580:40:60::113/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.71/24
- 2a0a:d580:40:60::100/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.81/24
- 2a0a:d580:40:60::101/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.82/24
- 2a0a:d580:40:60::102/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.107/24
- 2a0a:d580:40:60::103/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.129/24
- 2a0a:d580:40:60::104/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.130/24
- 2a0a:d580:40:60::105/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.131/24
- 2a0a:d580:40:60::106/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.140/24
- 2a0a:d580:40:60::107/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.141/24
- 2a0a:d580:40:60::108/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.147/24
- 2a0a:d580:40:60::109/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.247/24
- 2a0a:d580:40:60::114/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.248/24
- 2a0a:d580:40:60::115/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.249/24
- 2a0a:d580:40:60::116/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.250/24
- 2a0a:d580:40:60::117/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.251/24
- 2a0a:d580:40:60::118/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.252/24
- 2a0a:d580:40:60::119/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.253/24
- 2a0a:d580:40:60::11a/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 194.33.40.254/24
- 2a0a:d580:40:60::11b/64
gateway4: 194.33.40.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 185.181.229.100/24
- 2a0a:d580:40:60::11c/64
gateway4: 185.181.229.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2

View File

@ -0,0 +1,12 @@
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 185.181.229.103/24
- 2a0a:d580:40:60::11d/64
gateway4: 185.181.229.1
gateway6: 2a0a:d580:40:60::1
nameservers:
addresses: [ 194.33.40.10, 1.1.1.1 ]
version: 2