summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/live/20-systemd_target.chroot
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-16 07:19:59 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-05-16 05:32:16 +0000
commitfd0e802e307fe157536ddcf748717fd1b4d9bbd6 (patch)
tree12aa56f5e2eb093925f3cb92eac2f945379ed941 /data/live-build-config/hooks/live/20-systemd_target.chroot
parent45c6bb7d085cd5ba87968704fa98d2095e4cec95 (diff)
downloadvyos-build-fd0e802e307fe157536ddcf748717fd1b4d9bbd6.tar.gz
vyos-build-fd0e802e307fe157536ddcf748717fd1b4d9bbd6.zip
hooks: T6346: set default boot target to multi-user.target
(cherry picked from commit ca31af2cc33e965c4ebf98fd6f71f7a10c7f5032)
Diffstat (limited to 'data/live-build-config/hooks/live/20-systemd_target.chroot')
-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