Files
fluffy-pancake/iso/enable_anaconda.sh
T

34 lines
847 B
Bash
Raw Normal View History

2026-03-08 16:11:49 +01:00
#!/usr/bin/env bash
set -euo pipefail
2026-03-08 16:25:59 +01:00
# ------------------------------------------------------------
2026-03-08 17:44:42 +01:00
# Installer-Komponenten für Live-ISO
2026-03-08 16:25:59 +01:00
# ------------------------------------------------------------
2026-03-08 16:11:49 +01:00
dnf -y install \
anaconda \
2026-03-08 17:44:42 +01:00
anaconda-webui \
cockpit \
cockpit-anaconda
2026-03-08 16:11:49 +01:00
2026-03-08 16:25:59 +01:00
# ------------------------------------------------------------
2026-03-08 17:44:42 +01:00
# Desktop-Launcher für Live-User (COSMIC-kompatibel)
2026-03-08 16:25:59 +01:00
# ------------------------------------------------------------
2026-03-08 17:44:42 +01:00
LIVEUSER_HOME="/home/liveuser"
APPDIR="$LIVEUSER_HOME/.local/share/applications"
mkdir -p "$APPDIR"
cat >"$APPDIR/install-to-disk.desktop" <<'EOF'
2026-03-08 16:25:59 +01:00
[Desktop Entry]
Name=Install to Disk
Comment=Install this system to your computer
2026-03-08 17:44:42 +01:00
Exec=anaconda --webui
2026-03-08 16:25:59 +01:00
Icon=system-installer
Terminal=false
Type=Application
Categories=System;
2026-03-08 16:11:49 +01:00
EOF
2026-03-08 16:25:59 +01:00
2026-03-08 17:44:42 +01:00
chown -R liveuser:liveuser "$LIVEUSER_HOME/.local"