base: add evobsd_alias_fwupdate variable and make kshrc file a template so we can set or not a fw_update alias to servers that need it
This commit is contained in:
parent
8a63c8336f
commit
5ca86431eb
|
@ -72,6 +72,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
* base: install ncdu and htop often used as diagnostic tools
|
* base: install ncdu and htop often used as diagnostic tools
|
||||||
* base: dump-server-state.sh upstream release 23.06
|
* base: dump-server-state.sh upstream release 23.06
|
||||||
* evocheck: upstream release 23.06
|
* evocheck: upstream release 23.06
|
||||||
|
* base: add evobsd_alias_fwupdate variable and make kshrc file a template so we can set or not a fw_update alias to servers that need it
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
# dotfiles.yml
|
# dotfiles.yml
|
||||||
evobsd_system_timeout: 36000
|
evobsd_system_timeout: 36000
|
||||||
evobsd_path: "$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
|
evobsd_path: "$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
|
||||||
|
evobsd_alias_fwupdate: false
|
||||||
|
|
||||||
# mail.yml
|
# mail.yml
|
||||||
general_alert_email: "root@localhost"
|
general_alert_email: "root@localhost"
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
- dotfiles
|
- dotfiles
|
||||||
|
|
||||||
- name: "Customize .kshrc environment file"
|
- name: "Customize .kshrc environment file"
|
||||||
copy:
|
template:
|
||||||
src: kshrc
|
src: kshrc.j2
|
||||||
dest: /root/.kshrc
|
dest: /root/.kshrc
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
tags:
|
tags:
|
||||||
|
@ -57,8 +57,8 @@
|
||||||
- dotfiles
|
- dotfiles
|
||||||
|
|
||||||
- name: "Customize .kshrc environment file for new users"
|
- name: "Customize .kshrc environment file for new users"
|
||||||
copy:
|
template:
|
||||||
src: kshrc
|
src: kshrc.j2
|
||||||
dest: /etc/skel/.kshrc
|
dest: /etc/skel/.kshrc
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
{% if evobsd_alias_fwupdate %}
|
||||||
|
alias fw_update="{{ evobsd_alias_fwupdate }}"
|
||||||
|
{% endif %}
|
||||||
alias vi='vim'
|
alias vi='vim'
|
||||||
sudo() { if [[ $# == "1" ]] && [[ $1 == "su" ]]; then command sudo -i; else command sudo "$@"; fi }
|
sudo() { if [[ $# == "1" ]] && [[ $1 == "su" ]]; then command sudo -i; else command sudo "$@"; fi }
|
||||||
alias history="fc -l 0"
|
alias history="fc -l 0"
|
Loading…
Reference in a new issue