aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2020-11-10 11:53:30 +0100
committerDennis Eriksen <d@ennis.no>2020-11-10 11:53:30 +0100
commitdcfa6235b3740ddd6efb1f442a6e05645096b62f (patch)
tree6333d73463a3b2dd0f55fea132c24b3afed448a6
parentexchanging apt with apt-get for better script-compatability (diff)
downloadmkosi-ffsync-dcfa6235b3740ddd6efb1f442a6e05645096b62f.tar.gz
aim for more persistent logging. Set machine-id if you want more persistent logging.HEADmaster
-rw-r--r--.gitignore3
-rw-r--r--mkosi.nspawn1
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 3dff6a2..17bdbcc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,5 @@
# mkosi cache
mkosi.cache/*
+
+# machine-id
+mkosi.extra/etc/machine-id
diff --git a/mkosi.nspawn b/mkosi.nspawn
index 69ad9e9..7776b6f 100644
--- a/mkosi.nspawn
+++ b/mkosi.nspawn
@@ -4,6 +4,7 @@ ResolvConf=copy-host
Timezone=copy
PrivateUsers=pick
NoNewPrivileges=yes
+LinkJournal=try-host
[Files]
PrivateUsersChown=yes