From aab80c2b74f2219553e09e085b431775fbd9f597 Mon Sep 17 00:00:00 2001 From: mirkobrombin Date: Mon, 1 Jul 2024 10:54:39 +0200 Subject: [PATCH] feat[close #148]: Disable ssh daemon per default --- modules/121-disable-ssh-daemon.yml | 4 ++++ recipe.yml | 1 + 2 files changed, 5 insertions(+) create mode 100644 modules/121-disable-ssh-daemon.yml diff --git a/modules/121-disable-ssh-daemon.yml b/modules/121-disable-ssh-daemon.yml new file mode 100644 index 0000000..ea170ae --- /dev/null +++ b/modules/121-disable-ssh-daemon.yml @@ -0,0 +1,4 @@ +name: disable-ssh-daemon +type: shell +commands: + - unlink /etc/systemd/system/multi-user.target.wants/ssh.service diff --git a/recipe.yml b/recipe.yml index 0c19a06..d93d86f 100644 --- a/recipe.yml +++ b/recipe.yml @@ -64,6 +64,7 @@ stages: - modules/100-accessibility.yml - modules/110-fonts.yml - modules/120-network.yml + - modules/121-disable-ssh-daemon.yml - modules/130-plymouth.yml - modules/131-plymouth-theme-vanilla.yml - modules/140-password.yml