之前ubuntu使用Canonical时,我曾尝试过,严重受挫(2010/06/13).
这次在得知ubuntu转投OpenStack后赶紧再次尝试,真不愧时代进步啊!!!
基本上全自动化,无悬念搞定!!!
wget --no-check-certificate https://github.com/elasticdog/OpenStack-NOVA-Installer-Script/raw/master/nova-install sudo chmod 755 nova-install sudo bash nova-install -t cloud sudo bash nova-install -t compute mkdir –p /root/creds nova-manage project zipfile mycloud root /root/creds/novacreds.zip unzip /root/creds/novacreds.zip -d /root/creds/ cat /root/creds/novarc >> ~/.bashrc source ~/.bashrc restart libvirt-bin; restart nova-network; restart nova-compute; restart nova-api; restart nova-objectstore; restart nova-scheduler uec-publish-tarball ubuntu-10.04-server-uec-amd64.tar.gz mybucket euca-add-keypair mykey > mykey.pem chmod 600 mykey.pem euca-run-instances -k mykey ami-1e31f4fd -t m1.tiny ssh ubuntu@$192.168.0.130 -i mykey.pem