fixin post-install

This commit is contained in:
Zsolt Alföldi
2026-02-27 18:02:00 +01:00
parent 0641be36e6
commit 6bce4f9cf1
2 changed files with 19 additions and 8 deletions

View File

@@ -126,13 +126,12 @@ function displaylink_driver() {
echo displaylink_driver >>/tmp/installer echo displaylink_driver >>/tmp/installer
} }
function main() { function zscaler() {
desktop || true apt install /home/${TARGET_USER}/zscaler-client_3.7.1.71-1_amd64.deb -y
docker || true echo zscaler >>/tmp/installer
intune || true }
nix_home_manager || true
displaylink_driver || true
function dash_to_panel() {
# ─── DASH TO PANEL ─────────────────────────────────────────────────────────── # ─── DASH TO PANEL ───────────────────────────────────────────────────────────
info "Installing Dash to Panel..." info "Installing Dash to Panel..."
sudo -u "$TARGET_USER" bash -c ' sudo -u "$TARGET_USER" bash -c '
@@ -143,6 +142,17 @@ function main() {
' '
dconf update dconf update
echo dash_to_panel >>/tmp/installer
}
function main() {
desktop || true
docker || true
intune || true
nix_home_manager || true
displaylink_driver || true
zscaler || true
dash_to_panel || true
# ─── SSH ───────────────────────────────────────────────────────────────────── # ─── SSH ─────────────────────────────────────────────────────────────────────
info "Enabling SSH..." info "Enabling SSH..."
@@ -157,6 +167,6 @@ function main() {
systemctl start gdm systemctl start gdm
} }
if [[ "$1" = "main" ]]; then if [[ "${1:-NOPE}" = "main" ]]; then
main main
fi fi

View File

@@ -178,6 +178,7 @@ autoinstall:
- bash -x /cdrom/nocloud/wifi.sh - bash -x /cdrom/nocloud/wifi.sh
- mkdir -p /target/home/${TARGET_USER}/nocloud - mkdir -p /target/home/${TARGET_USER}/nocloud
- cp /cdrom/nocloud/* /target/home/${TARGET_USER}/nocloud/ - cp /cdrom/nocloud/* /target/home/${TARGET_USER}/nocloud/
- chown ${TARGET_USER}:${TARGET_USER} -R /target/home/${TARGET_USER}/nocloud/
updates: all updates: all
shutdown: poweroff shutdown: poweroff