2 echo "ATTENTION! You must install the 'sequel' Ruby gem."
3 echo "'gem install sequel'"
4 echo "You will also need to modify the one_auth file."
5 echo "-----------------------------------------------"
6 echo "For documentation on configuration, please visit"
7 echo "http://opennebula.org/documentation:rel3.0:cg"
9 # Set up a self-contained installation
10 mkdir /srv/cloud/one -p
12 useradd oneadmin -d /srv/cloud/one -g cloud -c OpenNebula administrator account
13 mkdir /srv/cloud/one/.one/
15 # Append the oneadmin credentials to one_auth to avoid overwriting a file that may already exist
16 echo "oneadmin:0neadm1n" >> /srv/cloud/one/.one/one_auth
17 chown oneadmin:cloud -R /srv/cloud/one
18 chown oneadmin:cloud -R /var/lib/one
19 chown oneadmin:cloud -R /var/lock/one
20 chown oneadmin:cloud -R /var/log/one
21 chown oneadmin:cloud -R /var/run/one
22 echo "Please change the password in /srv/cloud/one/.one/one_auth"
28 echo "You can delete the 'sequel' Ruby gem if no other package requires it."
29 echo "'gem uninstall sequel'"
32 # vim:set ts=2 sw=2 et: