fix: Add gateway for internet access in test envs
This commit is contained in:
parent
73c06e6ec8
commit
37c4613ab3
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,9 @@
|
||||||
|
|
||||||
systemd.network.networks."10-eth0" = {
|
systemd.network.networks."10-eth0" = {
|
||||||
matchConfig.Name = "eth0";
|
matchConfig.Name = "eth0";
|
||||||
|
gateway = [
|
||||||
|
"192.168.9.1"
|
||||||
|
];
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
Address = "192.168.9.2/24";
|
Address = "192.168.9.2/24";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue