mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-27 11:16:53 +00:00
Use CgroupString instead of missing GetCgroupAllowString in lxc_template
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
@@ -51,7 +51,7 @@ lxc.cgroup.devices.allow = a
|
||||
lxc.cgroup.devices.deny = a
|
||||
#Allow the devices passed to us in the AllowedDevices list.
|
||||
{{range $allowedDevice := .AllowedDevices}}
|
||||
lxc.cgroup.devices.allow = {{$allowedDevice.GetCgroupAllowString}}
|
||||
lxc.cgroup.devices.allow = {{$allowedDevice.CgroupString}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user