summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-16 07:31:27 +0200
committerGitHub <noreply@github.com>2024-05-16 07:31:27 +0200
commit1f59787ff61452da38da65a0c49ee4365026a3e0 (patch)
tree750f4bd56c1bc2a49d3941b2845c9075f6e62f4d /data
parenta33e9cfe0bb626a204e3cdcd517815f70747e07d (diff)
parentca31af2cc33e965c4ebf98fd6f71f7a10c7f5032 (diff)
downloadvyos-build-1f59787ff61452da38da65a0c49ee4365026a3e0.tar.gz
vyos-build-1f59787ff61452da38da65a0c49ee4365026a3e0.zip
Merge pull request #624 from c-po/target
hooks: T6346: set default boot target to multi-user.target
Diffstat (limited to 'data')
-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