diff options
author | Graham Dennis | 2023-05-23 08:38:42 +1000 |
---|---|---|
committer | Graham Dennis | 2023-05-24 08:54:22 +1000 |
commit | 8e58daad0227de3886bd073e09e47b0308b53e15 (patch) | |
tree | df3d99381e99430c9011053bc0731770fb6cd0d7 /nixos/lib | |
parent | 93502aa3b18db32649814fbb8341ea59ba40df5c (diff) |
nixos/qemu-vm: quoted string reformat
Diffstat (limited to 'nixos/lib')
-rw-r--r-- | nixos/lib/testing/network.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/lib/testing/network.nix b/nixos/lib/testing/network.nix index 1ba8e3474ea3..1edc9e276530 100644 --- a/nixos/lib/testing/network.nix +++ b/nixos/lib/testing/network.nix @@ -43,7 +43,7 @@ let qemu-common.qemuNICFlags snd fst.vlan config.virtualisation.test.nodeNumber)); udevRules = forEach interfacesNumbered ({ fst, snd }: # MAC Addresses for QEMU network devices are lowercase, and udev string comparison is case-sensitive. - "SUBSYSTEM==\"net\",ACTION==\"add\",ATTR{address}==\"${toLower(qemu-common.qemuNicMac fst.vlan config.virtualisation.test.nodeNumber)}\",NAME=\"${fst.name}\""); + ''SUBSYSTEM=="net",ACTION=="add",ATTR{address}=="${toLower(qemu-common.qemuNicMac fst.vlan config.virtualisation.test.nodeNumber)}",NAME="${fst.name}"''); networkConfig = { |