]> git.ipfire.org Git - thirdparty/lxc.git/commit
oci-template: Add logic for no /etc/passwd, group 2657/head
authorJungsub Shin <supsup5642@gmail.com>
Fri, 28 Sep 2018 10:21:08 +0000 (19:21 +0900)
committerJungsub Shin <supsup5642@gmail.com>
Fri, 28 Sep 2018 10:24:09 +0000 (19:24 +0900)
commita2ade420c061173b9055e0db2efb225dcf267fe3
tree380950bd73b336208cc11f60cccb2b98be5dc1fe
parentb8cfbbd140153e3787cd2a94e224e43ad3606496
oci-template: Add logic for no /etc/passwd, group

OCI image spec dosen't specify action when there is
no /etc/passwd or /etc/group. So if there is no
/etc/passwd with string user info, set uid to 0. If there
is no /etc/group with string group info, set gid to 0.

Signed-off-by: Jungsub Shin jungsub_shin@tmax.co.kr
templates/lxc-oci.in