diff options
author | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-12-05 16:30:17 -0600 |
---|---|---|
committer | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-12-08 15:26:26 -0400 |
commit | c30002208d392177cb1ffc1a5c714f7ad6d573b6 (patch) | |
tree | 9b17f82b31031521a98c5de683cc5b51c096ceaa /data/templates/system/sysctl.conf.j2 | |
parent | 030abbf48fd1399a30ed668f02e4ab02dbff0706 (diff) | |
download | vyos-1x-c30002208d392177cb1ffc1a5c714f7ad6d573b6.tar.gz vyos-1x-c30002208d392177cb1ffc1a5c714f7ad6d573b6.zip |
git: T5803: Adjust git configuration for baseline defaults
Apply baseline defaults for `.gitattributes` and `.vscode/settings.json`
for improved developer experience.
The `.gitattrbutes` settings are based on:
Git documentation (https://git-scm.com/docs/gitattributes#_effects)
GitHub documentation (https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings)
Community templates (https://github.com/gitattributes/gitattributes)
Since editor-agnostic line-ending specific settings are applied to
`.gitattributes`, they can be removed from `.vscode/settings.json`.
The global VSCode defaults have also been removed to avoid duplication.
Diffstat (limited to 'data/templates/system/sysctl.conf.j2')
-rw-r--r-- | data/templates/system/sysctl.conf.j2 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/data/templates/system/sysctl.conf.j2 b/data/templates/system/sysctl.conf.j2 index 59a19e157..db699c3d8 100644 --- a/data/templates/system/sysctl.conf.j2 +++ b/data/templates/system/sysctl.conf.j2 @@ -1,7 +1,7 @@ -# autogenerated by system_sysctl.py
-
-{% if parameter is vyos_defined %}
-{% for k, v in parameter.items() %}
-{{ k }} = {{ v.value }}
-{% endfor %}
-{% endif %}
+# autogenerated by system_sysctl.py + +{% if parameter is vyos_defined %} +{% for k, v in parameter.items() %} +{{ k }} = {{ v.value }} +{% endfor %} +{% endif %} |