qusal/salt/dev/install-terminal.sls

15 lines
343 B
Plaintext
Raw Normal View History

{#
SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if grains['nodename'] != 'dom0' -%}
"{{ slsdotpath }}-set-default-terminal-to-xterm":
cmd.run:
- name: update-alternatives --verbose --set x-terminal-emulator /usr/bin/xterm
- runas: root
{% endif -%}