echo "Using snippet $tweak_grub_snippet"
$SNIPPET($tweak_grub_snippet)
+#set $setup_tmp_tmpfs_snippet = "per_status/" + $SYSTEM_STATUS + "/tpl.075.tmp-tmpfs.sh"
+echo
+echo "Using snippet $setup_tmp_tmpfs_snippet"
+$SNIPPET($setup_tmp_tmpfs_snippet)
+
#set $tweak_rsyslog_snippet = "per_status/" + $SYSTEM_STATUS + "/tpl.080.rsyslogd-el7.sh"
echo
echo "Using snippet $tweak_rsyslog_snippet"
--- /dev/null
+## !/bin/bash
+#raw
+
+#-----------------------------------------------------------
+setup_tmp_tmpfs() {
+
+ local fstab="/etc/fstab"
+ if [[ -f "${fstab}" ]] ; then
+
+ echo
+ echo "${HASH_LINE}"
+ echo
+ log "Setting up /tmp as a tmpfs in '${fstab}' ..."
+
+ echo 'tmpfs /tmp tmpfs nosuid,size=10% 0 0' >>"${fstab}"
+
+ fi
+
+}
+setup_tmp_tmpfs
+
+#end raw
+## vim: ts=4 et list