generate: container: Fix Cgroup.command formatting
--cgroup-conf was missing the seperator. Signed-off-by: Enno Tensing <tenno@suij.in>
This commit is contained in:
parent
1cd43e0c95
commit
4224112c62
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class Cgroup:
|
||||||
cmd = ""
|
cmd = ""
|
||||||
seperator = " \\\n"
|
seperator = " \\\n"
|
||||||
cmd += seperator.join(
|
cmd += seperator.join(
|
||||||
[f"\t--cgroup-conf={option}" for option in self.config]
|
[f"\t--cgroup-conf={option}{seperator}" for option in self.config]
|
||||||
)
|
)
|
||||||
if self.parent != "":
|
if self.parent != "":
|
||||||
cmd += f"\t--cgroup-parent={self.parent}{seperator}"
|
cmd += f"\t--cgroup-parent={self.parent}{seperator}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue