updated script

This commit is contained in:
franklin 2015-07-03 18:11:50 +02:00
parent 365ae262fe
commit d32566dc53
2 changed files with 10 additions and 2 deletions

10
Vagrantfile vendored
View File

@ -1,6 +1,12 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
$script = <<SCRIPT
echo "Installing content-server..."
curl -s https://packagecloud.io/install/repositories/foomo/content-server/script.deb.sh | sudo bash
sudo apt-get install content-server
SCRIPT
Vagrant.configure("2") do |config|
config.vm.network :private_network, ip: "192.168.33.99"
config.vm.network :forwarded_port, guest: 22, host: 2299
@ -8,6 +14,8 @@ Vagrant.configure("2") do |config|
config.vbguest.no_remote = true
config.vbguest.auto_update = false
config.vm.synced_folder ".", "/vagrant"
config.vm.define 'trusty' do |instance|
instance.vm.box = 'ubuntu/trusty64'
end
@ -16,6 +24,6 @@ Vagrant.configure("2") do |config|
instance.vm.box = 'ubuntu/precise64'
end
config.vm.synced_folder ".", "/vagrant"
config.vm.provision "shell", inline: $script
end

View File

@ -3,7 +3,7 @@
USER="foomo"
NAME="content-server"
URL="http://www.foomo.org"
DESCRIPTION="Serves content tree structures very quickly through a json socket api"
DESCRIPTION="Serves content tree structures very quickly through a json socket api."
LICENSE="LGPL-3.0"
ARCH="amd64"