| 41 | |
| 42 | 1. If you don't have a GPO Lab account that will allow you to access the GCF git repository, send an email to [mailto:gpo-infra@geni.net] to request an account. |
| 43 | |
| 44 | 2 Clone the repository and switch to the geni-in-a-box branch: |
| 45 | {{{ |
| 46 | $ git clone http://trac.gpolab.bbn.com/srv/git/gcf |
| 47 | $ cd gcf |
| 48 | $ git branch geni-in-a-box |
| 49 | $ git pull origin geni-in-a-box |
| 50 | }}} |
| 51 | |
| 52 | 3. Run the script that sets up the OS in the VM: |
| 53 | {{{ |
| 54 | $ cd ~/gcf/src/geni/am/gibaggregate/standardScripts |
| 55 | $ ./hostSetup.sh |
| 56 | }}} |
| 57 | You'll be prompted for the root password as the script includes sudo commands. |
| 58 | |
| 59 | 4. Edit the sudoers file to allow sudo without a tty |
| 60 | {{{ |
| 61 | $ sudo visudo |
| 62 | }}} |
| 63 | |
| 64 | 5. Make sure the root account and the gib account have the password in ~/.gcf/passwords. Change the root and gib account passwords if necessary to match that in the ~/.gcf/passwords file. |
| 65 | |
| 66 | 6. Restart the VM. When it starts up the AM and CH should be running. If they are you'll find their outputs logged at /tmp/am-log and /tmp/ch-log respectively. |
| 67 | |
| 68 | 7. Run some tests using Omni and the rspecs in the {{{~/geni-in-a-box}}} directory. |