This commit is contained in:
Bart Sjerps
2026-06-10 13:28:26 +02:00
parent e49e2d3909
commit 0a01479d24
8 changed files with 93 additions and 4 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
#============================================================================
# Title : lab-firstboot
# Description : Open a postinstall session on tty8 and run post-install
# ---------------------------------------------------------------------------
# Prevent openvt "could not deallocate" issue by redirecting stdin and stderr
exec 1>/dev/null
exec 2>/dev/null
# Don't run if homelab is already installed
test -f /etc/postinstall && exit
openvt -c 8 -w -f -s /var/lib/misc/custom/post-install.sh
sleep 15