mirror of
https://github.com/ben-grande/qusal.git
synced 2025-08-03 19:54:12 -04:00
fix: alternatives module is Debian only
This commit is contained in:
parent
18a0244dc3
commit
3c9e222a1d
1 changed files with 5 additions and 1 deletions
|
@ -1,14 +1,18 @@
|
|||
{#
|
||||
SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
SPDX-FileCopyrightText: 2024 - 2025 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#}
|
||||
|
||||
{% if grains['nodename'] != 'dom0' -%}
|
||||
|
||||
{% if grains['os_family']|lower == 'debian' -%}
|
||||
|
||||
"{{ slsdotpath }}-set-default-terminal-to-xterm":
|
||||
cmd.run:
|
||||
- name: update-alternatives --verbose --set x-terminal-emulator /usr/bin/xterm
|
||||
- runas: root
|
||||
|
||||
{% endif -%}
|
||||
|
||||
{% endif -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue