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

8 lines
250 B
Django/Jinja
Executable File

// {{ ansible_managed }}
DPkg {
// Auto re-mounting of a noexec /tmp since some packages desire exec
Pre-Invoke { "mount -o remount,exec /tmp"; };
Post-Invoke { "test ${NO_APT_REMOUNT:-no} = yes || mount -o remount,noexec /tmp || true"; };
};