File tree Expand file tree Collapse file tree
userdata-templates/openclaw-bash Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 "type" : " bash" ,
55 "category" : " ai" ,
66 "user" : " r0fus0d" ,
7- "version" : " 1.0.4 " ,
7+ "version" : " 1.0.5 " ,
88 "url" : " https://openclaw.ai/" ,
99 "description" : " 开源 AI 编程助手" ,
1010 "description_en" : " Open source AI programming assistant" ,
1111 "installNotes" : " 安装完成后,输入 openclaw onboard --install-daemon 命令配置" ,
12+ "minMemoryMB" : 4096 ,
1213 "template" : " userdata"
1314}
Original file line number Diff line number Diff line change 11#! /bin/bash
22# OpenClaw 自动安装脚本
3+ # 修复阿里云 Debian bullseye-backports 源 404 问题
4+ sed -i ' /bullseye-backports/d' /etc/apt/sources.list 2> /dev/null
5+ sed -i ' /bullseye-backports/d' /etc/apt/sources.list.d/* .list 2> /dev/null
6+ # 等待云初始化释放 apt 锁
7+ for i in $( seq 1 30) ; do
8+ if ! fuser /var/lib/dpkg/lock-frontend > /dev/null 2>&1 ; then break ; fi
9+ echo " Waiting for apt lock... ($i /30)"
10+ sleep 5
11+ done
12+ export DEBIAN_FRONTEND=noninteractive
313curl -fsSL https://openclaw.ai/install.sh | bash
You can’t perform that action at this time.
0 commit comments