containers: fix dynamic hash lookup
we want the content of attribute as a key:
b9df84cd4f broke this
This commit is contained in:
@@ -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
|
||||||
''
|
''
|
||||||
|
|||||||
Reference in New Issue
Block a user