From: Andreas Glashauser Date: Tue, 1 Apr 2025 07:51:23 +0000 (+0200) Subject: CHANGED: Mitigate Fedora issue by replacing file.managed source: in common.xterm X-Git-Url: https://git.andreasglashauser.com/?a=commitdiff_plain;h=c1ae6dd22fb7651bb19832095812f032d3f006b0;p=salt-qubes.git CHANGED: Mitigate Fedora issue by replacing file.managed source: in common.xterm --- diff --git a/user_salt/common/bash/files/conf b/user_salt/common/bash/files/conf deleted file mode 100644 index 534784a..0000000 --- a/user_salt/common/bash/files/conf +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -export HISTSIZE=5 -export HISTFILESIZE=5 diff --git a/user_salt/common/bash/init.sls b/user_salt/common/bash/init.sls index 9b2daa6..69e7446 100644 --- a/user_salt/common/bash/init.sls +++ b/user_salt/common/bash/init.sls @@ -1,7 +1,10 @@ bash--limit-bash-history: file.managed: - name: /etc/profile.d/limit_bash_history.sh - - source: salt://common/bash/files/conf + - contents: | + #!/bin/bash + export HISTSIZE=5 + export HISTFILESIZE=5 - mode: 755 - user: root - group: root