mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 05:49:25 -06:00
test: forgejo microVM
This commit is contained in:
parent
aedf6e4be4
commit
6d83b2b2f5
11 changed files with 270 additions and 294 deletions
|
|
@ -125,11 +125,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# Open firewall ports inside the VM
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
serviceCfg.ports.port0 # Service web interface port number
|
||||
];
|
||||
|
||||
# ============================================================================
|
||||
# VM NETWORK CONFIGURATION (systemd-networkd)
|
||||
# ============================================================================
|
||||
|
|
@ -137,6 +132,11 @@ in
|
|||
# The VM sees a network interface called "enp0s5" which connects to the
|
||||
# host's TAP interface (vm-service) via the bridge (br-vms)
|
||||
};
|
||||
|
||||
# Open firewall ports inside the VM
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
serviceCfg.ports.port0 # Service web interface port number
|
||||
];
|
||||
systemd.network = {
|
||||
enable = true; # Enable systemd-networkd for network management
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue