summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-16 07:19:59 +0200
committerChristian Breunig <christian@breunig.cc>2024-05-16 07:19:59 +0200
commitca31af2cc33e965c4ebf98fd6f71f7a10c7f5032 (patch)
treea43ee3f023a20b2ccd6ae733686900d7cda16e0b /data
parenteff3d4aab60d5db66cf7dbb5876d66f9e3e3e715 (diff)
downloadvyos-build-ca31af2cc33e965c4ebf98fd6f71f7a10c7f5032.tar.gz
vyos-build-ca31af2cc33e965c4ebf98fd6f71f7a10c7f5032.zip
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