From db1ce3ea1a59b3af5ff2029e4514c7e82f5b94d3 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 5 May 2021 14:13:40 +0200 Subject: [PATCH] nspawn: fix the sections .nspawn settings are placed in The actual section names are quite different from what the comment so far suggested. Fix that. --- src/nspawn/nspawn-settings.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nspawn/nspawn-settings.h b/src/nspawn/nspawn-settings.h index d0c708a8a08..a5e6dbead5a 100644 --- a/src/nspawn/nspawn-settings.h +++ b/src/nspawn/nspawn-settings.h @@ -149,7 +149,7 @@ typedef struct OciHook { } OciHook; typedef struct Settings { - /* [Run] */ + /* [Exec] */ StartMode start_mode; bool ephemeral; char **parameters; @@ -180,7 +180,7 @@ typedef struct Settings { bool link_journal_try; TimezoneMode timezone; - /* [Image] */ + /* [Files] */ int read_only; VolatileMode volatile_mode; CustomMount *custom_mounts; -- 2.47.3