test/data: persist the journal for ostree images
Include the new journald config stage to configure journald to persist the journal. This is needed since we don't create the `/var/log/journal` directory that journald uses to switch the default to persistent storage. But instead of creating that directory, we explicitly configure journald via the new stage. This is also what Fedora CoreOS does.
This commit is contained in:
parent
638d5b834d
commit
48a4419705
3 changed files with 33 additions and 0 deletions
|
|
@ -901,6 +901,17 @@
|
|||
"language": "en_US.UTF-8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.systemd-journald",
|
||||
"options": {
|
||||
"filename": "10-persistent.conf",
|
||||
"config": {
|
||||
"Journal": {
|
||||
"Storage": "persistent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.selinux",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -108,6 +108,17 @@
|
|||
"language": "en_US.UTF-8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.systemd-journald",
|
||||
"options": {
|
||||
"filename": "10-persistent.conf",
|
||||
"config": {
|
||||
"Journal": {
|
||||
"Storage": "persistent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.selinux",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -901,6 +901,17 @@
|
|||
"language": "en_US.UTF-8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.systemd-journald",
|
||||
"options": {
|
||||
"filename": "10-persistent.conf",
|
||||
"config": {
|
||||
"Journal": {
|
||||
"Storage": "persistent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.selinux",
|
||||
"options": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue