Move from extif0 to intif0 for spark.
This commit is contained in:
parent
bd0b606592
commit
a17886e8e7
|
@ -41,7 +41,7 @@
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
macvlans = {
|
macvlans = {
|
||||||
extif0 = {
|
intif0 = {
|
||||||
interface = "enp3s0";
|
interface = "enp3s0";
|
||||||
mode = "bridge";
|
mode = "bridge";
|
||||||
};
|
};
|
||||||
|
@ -52,9 +52,8 @@
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
extif0 = {
|
intif0 = {
|
||||||
# output of: echo spark-extif0|md5sum|sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\).*$/02:\1:\2:\3:\4:\5/'
|
macAddress = pkgs.lib.network.generate-mac-address config.instance.hostname "intif0";
|
||||||
macAddress = "02:9c:b7:b6:ad:c4";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
interfaces = {
|
interfaces = {
|
||||||
extif0 = { useDHCP = true; };
|
intif0.useDHCP = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue