pandora/vm
2017-02-15 19:02:52 +01:00
..
build.sh fix vm build on Ubuntu 16.04 2016-03-15 23:04:53 +01:00
LXC_README.txt lxc install cleanup 2016-06-15 14:34:46 +02:00
pandora_install.sh reload worker, no longer gets rotated by logrotate 2017-02-15 19:02:52 +01:00
prepare.sh fix vm build on Ubuntu 16.04 2016-03-15 23:04:53 +01:00
README.txt build vm with vmdebootstrap 2016-03-05 18:36:39 +05:30

Create virtual disk of pan.do/ra

== Preparations ==

Pan.do/ra VM scripts use vmdebootstrap 0.9 or later
You also need qemu to run the vm and virtualbox to convert the image

  apt-get install vmdebootstrap virtualbox qemu


== Building ==

You can configure some of the arguments in build.sh once done run:

 ./build.sh

this will create a vdi image in pandora-r{REVISON}.vdi

If you have a local apt-cacher instance export MIRROR:

export MIRROR="--mirror http://<LOCAL IP>:3142/archive.ubuntu.com/ubuntu/ --configure-apt"
./build.sh


== VirtualBox Usage ==

Now you can create a new VirtualBox machine,
select Linux/Ubuntu and use vdi image as existing hard disk.

Before starting up:
 In Network -> Adpater 1 set to Bridged Adapter with your connected controller


== Use for development ==

Login via ssh or in terminal as pandora with password pandora

  ssh pandora@pandora.local

Pan.do/ra is installed in /srv/pandora and is served with nginx on http://pandora.local


== Update ==

to get the latest version of pan.do/ra
 cd /srv/pandora
 ./update.py