containers: fix dynamic hash lookup

we want the content of attribute as a key:
b9df84cd4f broke this
This commit is contained in:
Jörg Thalheim
2016-09-24 09:26:52 +02:00
parent cdec20ac58
commit d6ce2e4bcb
+1 -1
View File
@@ -159,7 +159,7 @@ let
fi fi
'' ''
else else
''${ipcmd} add ${cfg.attribute} dev $ifaceHost''; ''${ipcmd} add ${cfg.${attribute}} dev $ifaceHost'';
renderExtraVeth = name: cfg: renderExtraVeth = name: cfg:
if cfg.hostBridge != null then if cfg.hostBridge != null then
'' ''