Improve ISO installer non-GPU and bundled setup flow

This commit is contained in:
Jino Jose committed 2026-06-24 17:03:59 +05:30
1 parent 82cd52a409
commit ec296b3d42
7 files changed
+148 -25

No files matched your search

+10 -6
View File
@@ -169,18 +169,22 @@ echo ""
# Write selected tools to a config file so install.sh can read it
mkdir -p /opt/cezen
cat > /opt/cezen/install.conf << EOF
TIER=${TIER}
SKIP_ROLES=""
EOF
# Determine which roles to skip based on tool selection
for role in ollama jupyterlab chromadb vllm mlflow minio monitoring k3s; do
if ! echo "$TOOLS" | grep -q "$role"; then
sed -i "s/SKIP_ROLES=\"\"/SKIP_ROLES=\"${role}\"/" /opt/cezen/install.conf
if [ -n "$SKIP_ROLES" ]; then
SKIP_ROLES="${SKIP_ROLES},${role}"
else
SKIP_ROLES="${role}"
fi
fi
done
cat > /opt/cezen/install.conf << EOF
TIER=${TIER}
SKIP_ROLES=${SKIP_ROLES}
EOF
# Mark as configured so this wizard doesn't run again
touch /opt/cezen/.setup-done