Files
fluffy-pancake/iso/enable_anaconda.sh
T
2026-03-08 17:44:42 +01:00

34 lines
847 B
Bash
Executable File

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