use 16.04
This commit is contained in:
parent
0233fec5da
commit
67551f2876
3 changed files with 9 additions and 3 deletions
|
@ -3,6 +3,8 @@ Pan.do/ra Vagrant
|
|||
1. Install Vagrant (https://www.vagrantup.com/)
|
||||
2. Checkout this repository
|
||||
3. Setup Vagrant
|
||||
$ vagrant up && vagrant halt
|
||||
3. Start Vagrant pan.do/ra
|
||||
$ vagrant up
|
||||
4. Open Browser at http://localhost:2620/
|
||||
5. SSH into VM
|
||||
|
|
4
Vagrantfile
vendored
4
Vagrantfile
vendored
|
@ -8,8 +8,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
config.vm.hostname = 'pandora'
|
||||
config.vm.guest = :ubuntu
|
||||
config.package.name = 'pandora.box'
|
||||
config.vm.box = 'trusty-cloud'
|
||||
config.vm.box_url = 'https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box'
|
||||
config.vm.box = "ubuntu/xenial64"
|
||||
config.vm.box_url = "https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-vagrant.box"
|
||||
config.vm.network "forwarded_port", guest: 80, host: 2620
|
||||
config.vm.synced_folder ".", "/srv"
|
||||
config.vm.provision "shell", path: "install.sh"
|
||||
|
|
|
@ -2,13 +2,17 @@
|
|||
if [ -x /srv/pandora ]; then
|
||||
sudo -H -u vagrant /srv/pandora/update.py dev
|
||||
else
|
||||
|
||||
apt-get update -qq
|
||||
apt-get install -y curl >/dev/null 2>&1
|
||||
locale-gen en_US.UTF-8
|
||||
export LANG=en_US.UTF-8
|
||||
echo LANG=en_US.UTF-8 >> /etc/locale.conf
|
||||
curl -sL https://pan.do/ra-install > /srv/pandora_install.sh
|
||||
chmod +x /srv/pandora_install.sh
|
||||
echo "Installing pan.do/ra..."
|
||||
echo "logging installation progress into pandora_install.log"
|
||||
export PANDORA=vagrant
|
||||
export PANDORA=ubuntu
|
||||
/srv/pandora_install.sh >/srv/pandora_install.log 2>&1
|
||||
rm /srv/pandora_install.sh
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue