summaryrefslogtreecommitdiffstats
path: root/src/shared/volatile-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-12-19 01:02:06 +0100
committerLennart Poettering <lennart@poettering.net>2019-03-01 14:11:06 +0100
commit6c610acaaa771a20893fb185d654cb0f9dd451b4 (patch)
treeec76ad0a42738aaf2a0f374b507ccdd39adbeb04 /src/shared/volatile-util.c
parentnspawn: fix an error path (diff)
downloadsystemd-6c610acaaa771a20893fb185d654cb0f9dd451b4.tar.xz
systemd-6c610acaaa771a20893fb185d654cb0f9dd451b4.zip
nspawn: add --volatile=overlay support
Fixes: #11054 #3847
Diffstat (limited to 'src/shared/volatile-util.c')
-rw-r--r--src/shared/volatile-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/volatile-util.c b/src/shared/volatile-util.c
index 4d75bc0e96..917ebfa4e4 100644
--- a/src/shared/volatile-util.c
+++ b/src/shared/volatile-util.c
@@ -39,6 +39,7 @@ static const char* const volatile_mode_table[_VOLATILE_MODE_MAX] = {
[VOLATILE_NO] = "no",
[VOLATILE_YES] = "yes",
[VOLATILE_STATE] = "state",
+ [VOLATILE_OVERLAY] = "overlay",
};
DEFINE_STRING_TABLE_LOOKUP_WITH_BOOLEAN(volatile_mode, VolatileMode, VOLATILE_YES);