diff options
author | Wen Yang <wenyang@linux.alibaba.com> | 2020-08-19 13:47:03 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-08-20 09:48:13 +0200 |
commit | abac810b968df8d7345023cb3a08b8788dacfd49 (patch) | |
tree | 5177dcd683e652935295b97611bf25c44828f396 /src/basic/virt.c | |
parent | Merge pull request #16792 from poettering/machine-id-chroot (diff) | |
download | systemd-abac810b968df8d7345023cb3a08b8788dacfd49.tar.xz systemd-abac810b968df8d7345023cb3a08b8788dacfd49.zip |
basic/virt: treat "pouch" as a container type (id: pouch)
Diffstat (limited to 'src/basic/virt.c')
-rw-r--r-- | src/basic/virt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/virt.c b/src/basic/virt.c index c6bff6b16e..4c2280cfd6 100644 --- a/src/basic/virt.c +++ b/src/basic/virt.c @@ -442,6 +442,7 @@ static const char *const container_table[_VIRTUALIZATION_MAX] = { [VIRTUALIZATION_RKT] = "rkt", [VIRTUALIZATION_WSL] = "wsl", [VIRTUALIZATION_PROOT] = "proot", + [VIRTUALIZATION_POUCH] = "pouch", }; DEFINE_PRIVATE_STRING_TABLE_LOOKUP_FROM_STRING(container, int); @@ -679,6 +680,7 @@ static const char *const virtualization_table[_VIRTUALIZATION_MAX] = { [VIRTUALIZATION_RKT] = "rkt", [VIRTUALIZATION_WSL] = "wsl", [VIRTUALIZATION_PROOT] = "proot", + [VIRTUALIZATION_POUCH] = "pouch", [VIRTUALIZATION_CONTAINER_OTHER] = "container-other", }; |