systemrescue-zfs/sysrescue.d/100-defaults.yaml
Gerd v. Egidy 354b550524 support configuring the content of the bash_history in the YAML config
Allows to preconfigure common commands so that they can be accessed by just pressing
the up arrow key or searched with ctrl+r.

Move the "setkmap" command (which was previously hardcoded into .bash_history) into
100-defaults.yaml, allowing it to be overridden.

Example config:

sysconfig:
    bash_history:
        100: "setkmap"
        200: "reverse_ssh support.example.com 1234"

The Mapping / dict key is used for lexicographic reverse-ordering of the entries. Reverse-ordering
means the lowest key will show up first when pressing the up arrow key.
2022-12-11 19:26:14 +01:00

21 lines
374 B
YAML

---
global:
copytoram: false
checksum: false
loadsrm: false
dostartx: false
dovnc: false
noautologin: false
nofirewall: false
autorun:
ar_disable: false
ar_nowait: true
ar_nodel: false
ar_attempts: 1
ar_ignorefail: false
ar_suffixes: "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
sysconfig:
bash_history:
100: "setkmap"