2010-12-02 03:32:06 +00:00
|
|
|
Create virtual disk of pan.do/ra
|
|
|
|
|
2013-07-03 14:25:57 +00:00
|
|
|
== Preparations ==
|
2010-12-02 03:32:06 +00:00
|
|
|
|
2013-07-03 14:25:57 +00:00
|
|
|
Pan.do/ra VM scripts use python-vm-builder,
|
|
|
|
its available in ubuntu 12.04 and later
|
2010-12-02 03:32:06 +00:00
|
|
|
|
2011-11-08 17:05:26 +00:00
|
|
|
apt-get install python-vm-builder
|
2010-12-02 03:32:06 +00:00
|
|
|
|
|
|
|
|
2013-07-03 14:25:57 +00:00
|
|
|
== Building ==
|
2010-12-02 03:32:06 +00:00
|
|
|
|
2013-07-03 14:25:57 +00:00
|
|
|
You can configure some of the arguments in build.sh once done run:
|
2010-12-02 03:32:06 +00:00
|
|
|
|
|
|
|
./build.sh
|
|
|
|
|
|
|
|
this will create a vdi image in pandora/
|
|
|
|
|
2013-07-03 14:25:57 +00:00
|
|
|
|
2010-12-02 03:32:06 +00:00
|
|
|
== VirtualBox Usage ==
|
2013-07-03 14:25:57 +00:00
|
|
|
|
2012-03-23 20:57:43 +00:00
|
|
|
Now you can create a new VirtualBox machine,
|
|
|
|
select Linux/Ubuntu and use vdi image as existing hard disk.
|
|
|
|
|
|
|
|
Before starting up:
|
2010-12-02 03:32:06 +00:00
|
|
|
In Network -> Adpater 1 set to Bridged Adapter with your connected controller
|
|
|
|
|
2013-07-03 14:25:57 +00:00
|
|
|
|
2010-12-02 03:32:06 +00:00
|
|
|
== Use for development ==
|
2013-07-03 14:25:57 +00:00
|
|
|
|
2010-12-02 03:32:06 +00:00
|
|
|
Login via ssh or in terminal as pandora with password pandora
|
|
|
|
|
2012-03-23 20:57:43 +00:00
|
|
|
ssh pandora@pandora.local
|
|
|
|
|
2010-12-02 03:32:06 +00:00
|
|
|
Adjust your bzr configuration with bzr whoami:
|
|
|
|
bzr whoami "Pando the Panda <pan.do@pan.do>"
|
|
|
|
|
|
|
|
Pan.do/ra is installed in /srv/pandora and is served with nginx on http://pandora.local
|
|
|
|
|
|
|
|
|
|
|
|
== Update ==
|
2013-07-03 14:25:57 +00:00
|
|
|
|
2010-12-02 03:32:06 +00:00
|
|
|
to get the latest version of pan.do/ra
|
|
|
|
cd /srv/pandora
|
2013-07-03 14:25:57 +00:00
|
|
|
./update.py
|
2010-12-02 03:32:06 +00:00
|
|
|
|