mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
Add install gems
This commit is contained in:
1 parent
8bad0930a1
commit
88ca9813bb
2 files changed
+9
-2
No files matched your search
@@ -22,6 +22,9 @@ sudo ./install.sh -u travis
|
||||
mkdir $HOME/.one
|
||||
echo "oneadmin:opennebula" > $HOME/.one/one_auth
|
||||
|
||||
# Install gems
|
||||
/usr/share/one/install_gems --yes
|
||||
|
||||
# start oned
|
||||
|
||||
one start
|
||||
|
||||
@@ -18,9 +18,13 @@
|
||||
sunstone-server start
|
||||
|
||||
# check it's up
|
||||
timeout 60 sh -c 'until nc -z $0 $1; do sleep 1; done' localhost 9869
|
||||
RC=`timeout 60 sh -c 'until nc -z $0 $1; do sleep 1; done' localhost 9869`
|
||||
|
||||
echo "Sunstone log"
|
||||
cat /var/log/one/sunstone.log
|
||||
echo
|
||||
echo "Sunstone error log"
|
||||
cat /var/log/one/sunstone.error
|
||||
echo "---------"
|
||||
|
||||
exit 1
|
||||
exit $RC
|
||||
Reference in new issue
Block a user