Files
fluffy-pancake/iso/enable_anaconda.sh
T

27 lines
571 B
Bash
Raw Normal View History

2026-03-08 20:25:14 +01:00
set -euxo pipefail
2026-03-08 16:11:49 +01:00
2026-03-08 20:25:14 +01:00
# 1. /home komplett entfernen
rm -rf /home
# 2. Anaconda installieren
dnf install -y \
2026-03-08 16:11:49 +01:00
anaconda \
2026-03-08 20:25:14 +01:00
anaconda-webui
2026-03-08 17:44:42 +01:00
2026-03-08 20:25:14 +01:00
# 3. Desktop-Datei vorbereiten, aber OHNE /home zu benutzen
INSTALLER_DESKTOP="/usr/share/applications/install-to-disk.desktop"
2026-03-08 17:44:42 +01:00
2026-03-08 20:25:14 +01:00
cat >"$INSTALLER_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 20:00:41 +01:00
2026-03-08 20:25:14 +01:00
# 4. Erst ganz am Ende /home anlegen
mkdir -p /home/liveuser/.local/share/applications