Skip to content

Commit

Permalink
Add static network config since it's impossible to define VLAN ID on …
Browse files Browse the repository at this point in the history
…kernel commandline
  • Loading branch information
valtzu committed Apr 27, 2024
1 parent 1c9f9ab commit 6779203
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions mkosi.extra/usr/lib/systemd/network/00-dhcp.network
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ Type=ether
KeepConfiguration=dhcp-on-stop
DHCP=ipv4
LinkLocalAddressing=no
VLAN=static
6 changes: 6 additions & 0 deletions mkosi.extra/usr/lib/systemd/network/10-static.netdev
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[NetDev]
Name=static
Kind=vlan

[VLAN]
Id=8

0 comments on commit 6779203

Please sign in to comment.