Skip to content

Commit bc91df2

Browse files
committed
Add default rootfs settings
Signed-off-by: Fredrik Lönnegren <[email protected]>
1 parent 0ca206b commit bc91df2

File tree

1 file changed

+12
-0
lines changed
  • pkg/features/embedded/cloud-config-essentials/system/oem

1 file changed

+12
-0
lines changed

pkg/features/embedded/cloud-config-essentials/system/oem/00_rootfs.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@ stages:
1818
environment_file: /run/cos/cos-layout.env
1919
environment:
2020
OVERLAY: "tmpfs:25%"
21+
RW_PATHS: "/var /etc /srv"
22+
PERSISTENT_STATE_PATHS: >-
23+
/etc/systemd
24+
/etc/ssh
25+
/etc/iscsi
26+
/home
27+
/opt
28+
/root
29+
/usr/libexec
30+
/usr/local
31+
/var/log
32+
/var/lib/NetworkManager
2133
initramfs:
2234
- if: '[ ! -f "/run/cos/recovery_mode" ]'
2335
name: "Persist /etc/machine-id"

0 commit comments

Comments
 (0)