vdk/roles/weareinteractive.apt/templates/etc/apt/apt.conf.d/10remount_rootfs.j2
2020-01-13 14:51:16 +01:00

8 lines
231 B
Django/Jinja
Executable File

// {{ ansible_managed }}
DPkg {
// Auto re-mounting of a readonly /
Pre-Invoke { "mount -o remount,rw LABEL=ROOTFS /"; };
Post-Invoke { "test ${NO_APT_REMOUNT:-no} = yes || mount -o remount,ro LABEL=ROOTFS / || true"; };
};