tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/qemu-vm: quoted string reformat
Graham Dennis
2 years ago
8e58daad
93502aa3
+1
-1
1 changed file
expand all
collapse all
unified
split
nixos
lib
testing
network.nix
+1
-1
nixos/lib/testing/network.nix
···
43
43
qemu-common.qemuNICFlags snd fst.vlan config.virtualisation.test.nodeNumber));
44
44
udevRules = forEach interfacesNumbered ({ fst, snd }:
45
45
# MAC Addresses for QEMU network devices are lowercase, and udev string comparison is case-sensitive.
46
46
-
"SUBSYSTEM==\"net\",ACTION==\"add\",ATTR{address}==\"${toLower(qemu-common.qemuNicMac fst.vlan config.virtualisation.test.nodeNumber)}\",NAME=\"${fst.name}\"");
46
46
+
''SUBSYSTEM=="net",ACTION=="add",ATTR{address}=="${toLower(qemu-common.qemuNicMac fst.vlan config.virtualisation.test.nodeNumber)}",NAME="${fst.name}"'');
47
47
48
48
networkConfig =
49
49
{