summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-05-16 14:33:10 +0200
committerGitHub <noreply@github.com>2024-05-16 14:33:10 +0200
commit2ead440e37119e6aaef49517a69c96ae4172c8ac (patch)
tree12aa56f5e2eb093925f3cb92eac2f945379ed941
parent45c6bb7d085cd5ba87968704fa98d2095e4cec95 (diff)
parentfd0e802e307fe157536ddcf748717fd1b4d9bbd6 (diff)
downloadvyos-build-2ead440e37119e6aaef49517a69c96ae4172c8ac.tar.gz
vyos-build-2ead440e37119e6aaef49517a69c96ae4172c8ac.zip
Merge pull request #625 from vyos/mergify/bp/sagitta/pr-624
hooks: T6346: set default boot target to multi-user.target (backport #624)
-rwxr-xr-xdata/live-build-config/hooks/live/20-systemd_target.chroot4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/live/20-systemd_target.chroot b/data/live-build-config/hooks/live/20-systemd_target.chroot
new file mode 100755
index 00000000..a8d9fef2
--- /dev/null
+++ b/data/live-build-config/hooks/live/20-systemd_target.chroot
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+echo I: Choose systemd multi-user.target over graphical.target
+systemctl set-default -f multi-user.target