mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
chore: track external network configs
This commit is contained in:
parent
3bb2e7e3c5
commit
103548a87c
11 changed files with 145 additions and 10 deletions
|
|
@ -1,5 +1,5 @@
|
|||
_: {
|
||||
type = null;
|
||||
type = "Linux";
|
||||
proxmox = {
|
||||
vm = {
|
||||
id = 202;
|
||||
|
|
@ -15,4 +15,14 @@ _: {
|
|||
net1.internal.enable = true;
|
||||
};
|
||||
};
|
||||
extern.files = {
|
||||
"/etc/NetworkManager/system-connections/ens18.nmconnection" = {
|
||||
source = ./ens18.nmconnection;
|
||||
mode = "0600";
|
||||
};
|
||||
"/etc/NetworkManager/system-connections/int.nmconnection" = {
|
||||
source = ./int.nmconnection;
|
||||
mode = "0600";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
20
systems/freeipa/ens18.nmconnection
Normal file
20
systems/freeipa/ens18.nmconnection
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[connection]
|
||||
id=ens18
|
||||
uuid=ee7fba03-49fa-3474-acf6-a9c2c591c098
|
||||
type=ethernet
|
||||
autoconnect-priority=-999
|
||||
interface-name=ens18
|
||||
timestamp=1706677871
|
||||
|
||||
[ethernet]
|
||||
|
||||
[ipv4]
|
||||
address1=10.1.1.46/24,10.1.1.1
|
||||
dns=1.1.1.1;
|
||||
method=manual
|
||||
|
||||
[ipv6]
|
||||
addr-gen-mode=eui64
|
||||
method=auto
|
||||
|
||||
[proxy]
|
||||
12
systems/freeipa/int.nmconnection
Normal file
12
systems/freeipa/int.nmconnection
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[connection]
|
||||
id=int
|
||||
type=ethernet
|
||||
interface-name=ens19
|
||||
[ipv4]
|
||||
address1=10.9.1.170/24
|
||||
may-fail=true
|
||||
method=manual
|
||||
[ipv6]
|
||||
address1=fd0c::aa/64
|
||||
may-fail=true
|
||||
method=manual
|
||||
Loading…
Add table
Add a link
Reference in a new issue