Devstack 安装 openstack ?

2025-05-16 22:23:05
推荐回答(1个)
回答(1):

# Warn users who aren't on natty, but allow them to override check and attempt    
# installation with ``FORCE=yes ./stack``    
if ! grep -q natty /etc/lsb-release; then    
   echo "WARNING: this script has only been tested on natty"    
   if [[ "$FORCE" != "yes" ]]; then    
       echo "If you wish to run this script anyway run with FORCE=yes"    
       exit 1    
   fi    
fi

从代码(上面的版本)来看是这个script只在ubuntu 11.04(或其他系统)下测试过,但没在你的系统下测试过,如果你想执行,必须加上变量“FORCE=yes”, 你试试

> FORCE=yes ./stack.sh