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:22:31 +02:00
parent cdec20ac58
commit d6ce2e4bcb

View File

@@ -159,7 +159,7 @@ let
fi
''
else
''${ipcmd} add ${cfg.attribute} dev $ifaceHost'';
''${ipcmd} add ${cfg.${attribute}} dev $ifaceHost'';
renderExtraVeth = name: cfg:
if cfg.hostBridge != null then
''