Commit de123023 by Casey Marshall Committed by Stéphane Graber

Allow lxc_clear_config_item to clear idmaps.

Ran into this when trying to automate stgraber's "GUI in containers" post. Signed-off-by: 's avatarCasey Marshall <casey.marshall@canonical.com> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 3ae4a3ce
......@@ -2241,6 +2241,9 @@ int lxc_clear_config_item(struct lxc_conf *c, const char *key)
lxc_seccomp_free(c);
return 0;
}
else if (strncmp(key, "lxc.id_map", 10) == 0) {
return lxc_clear_idmaps(c);
}
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment