Skip to content

Commit

Permalink
Set VM's MTU to 1460 instead of 1500 (#57)
Browse files Browse the repository at this point in the history
Signed-off-by: Anh Huy Bui <buianhhuy96@gmail.com>
Co-authored-by: buianhhuy96 <buianhhuy@gmail.com>
  • Loading branch information
buianhhuy96 and buianhhuy96 authored Sep 18, 2024
1 parent fdf6866 commit 805adc8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hardware/fmo-os-rugged-laptop-7330.nix
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
];
};
}; # networking
systemd.network.links."10-ethint0".extraConfig = "MTUBytes=1460";

services = {
udev = {
Expand Down Expand Up @@ -213,6 +214,7 @@
extraModules = [
{
users.users."ghaf".extraGroups = ["docker" "dialout"];
systemd.network.links."10-ethint0".extraConfig = "MTUBytes=1460";
microvm = {
mem = 4096;
vcpu = 2;
Expand Down
2 changes: 2 additions & 0 deletions hardware/fmo-os-rugged-tablet-7230.nix
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
];
};
}; # networking
systemd.network.links."10-ethint0".extraConfig = "MTUBytes=1460";

services = {
udev = {
Expand Down Expand Up @@ -192,6 +193,7 @@
extraModules = [
{
users.users."ghaf".extraGroups = ["docker" "dialout"];
systemd.network.links."10-ethint0".extraConfig = "MTUBytes=1460";
microvm = {
mem = 4096;
vcpu = 2;
Expand Down

0 comments on commit 805adc8

Please sign in to comment.