diff --git a/bootstrap.sh b/bootstrap.sh index e2ef928..87a8d23 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -3,6 +3,18 @@ set -euo pipefail BASE_DIR="$(cd "$(dirname "$0")" && pwd)" +mkdir -p "$BASE_DIR/generated" +chmod +x "$BASE_DIR/scripts/probe.sh" +chmod +x "$BASE_DIR/scripts/render-config.py" + +if [ -f "$BASE_DIR/scripts/burst-95.sh" ]; then + chmod +x "$BASE_DIR/scripts/burst-95.sh" +fi + +if [ -f "$BASE_DIR/scripts/normal-80.sh" ]; then + chmod +x "$BASE_DIR/scripts/normal-80.sh" +fi + "$BASE_DIR/scripts/probe.sh" python3 "$BASE_DIR/scripts/render-config.py" @@ -15,3 +27,6 @@ cat "$BASE_DIR/generated/machine-profile.json" echo echo "=== continue config ===" echo "~/.continue/config.yaml updated" +echo +echo "=== ollama limits ===" +systemctl show ollama | grep -E 'CPUQuota|MemoryHigh|MemoryMax'