mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Adapt network config to new vSwitch
This commit is contained in:
parent
37b85f860e
commit
667603ee99
2 changed files with 3 additions and 3 deletions
|
|
@ -59,7 +59,7 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
vlan4000 = {
|
||||
vlan4001 = {
|
||||
mtu = 1400;
|
||||
ipv4 = {
|
||||
addresses = [{
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
vlans.vlan4000 = { id = 4000; interface = "enp2s0"; };
|
||||
vlans.vlan4001 = { id = 4001; interface = "enp2s0"; };
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ resource "hcloud_network_subnet" "banditlair_vswitch_network_subnet" {
|
|||
network_id = hcloud_network.private_network.id
|
||||
network_zone = "eu-central"
|
||||
ip_range = "10.0.2.0/24"
|
||||
vswitch_id = 22304
|
||||
vswitch_id = 29224
|
||||
}
|
||||
|
||||
resource "hcloud_server" "db1" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue