You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"--> Installing Ollama binary into the system..."
24
24
mv ollama "$LUMINOS_CHROOT_DIR/usr/local/bin/"
25
25
26
+
# --- Pull the model BEFORE configuring the service ---
27
+
# We need mounts for network access during the pull
28
+
echo"--> Mounting virtual filesystems for model download..."
29
+
mount --bind /dev "$LUMINOS_CHROOT_DIR/dev"; mount --bind /dev/pts "$LUMINOS_CHROOT_DIR/dev/pts"; mount -t proc /proc "$LUMINOS_CHROOT_DIR/proc"; mount -t sysfs /sys "$LUMINOS_CHROOT_DIR/sys"
30
+
31
+
echo"--> IMPORTANT: Pulling base model '${BASE_MODEL}'. This will take some time..."
32
+
# Run pull directly using the binary, no service needed yet
echo"--> Mounting virtual filesystems for chroot..."
84
+
# --- Mounts, Chroot Execution, Unmounts for Configuration ---
85
+
echo"--> Mounting virtual filesystems for chroot configuration..."
71
86
mount --bind /dev "$LUMINOS_CHROOT_DIR/dev"; mount --bind /dev/pts "$LUMINOS_CHROOT_DIR/dev/pts"; mount -t proc /proc "$LUMINOS_CHROOT_DIR/proc"; mount -t sysfs /sys "$LUMINOS_CHROOT_DIR/sys"
72
87
73
-
echo"--> Entering chroot to configure AI service..."
88
+
echo"--> Entering chroot to configure AI service and create model..."
0 commit comments