mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
nixos/qemu-vm: quoted string reformat
This commit is contained in:
parent
93502aa3b1
commit
8e58daad02
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ let
|
||||||
qemu-common.qemuNICFlags snd fst.vlan config.virtualisation.test.nodeNumber));
|
qemu-common.qemuNICFlags snd fst.vlan config.virtualisation.test.nodeNumber));
|
||||||
udevRules = forEach interfacesNumbered ({ fst, snd }:
|
udevRules = forEach interfacesNumbered ({ fst, snd }:
|
||||||
# MAC Addresses for QEMU network devices are lowercase, and udev string comparison is case-sensitive.
|
# 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 =
|
networkConfig =
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue