SHARE
TWEET

Vagrantfile configuration

nanojava Dec 3rd, 2013 55 Never
  1. Vagrant.configure("2") do |config|
  2.   config.vm.box = "precise32"
  3.   config.vm.box_url = "http://files.vagrantup.com/precise32.box"
  4.  
  5.   # Setting provisions
  6.   config.vm.provision "shell", inline: "apt-get update"
  7.   config.vm.provision "shell", inline: "apt-get -y install apache2"
  8.   config.vm.provision "shell", inline: "apt-get -y install mysql-common mysql-server"
  9.   # XXX screen not viewable
  10.   # XXX required prompt for root password
  11.   config.vm.provision "shell", inline: "apt-get -y install phpmyadmin"
  12.   # XXX screen not viewable
  13.   # XXX required prompt for server selection
  14.   # XXX required prompt for dbconfig-common database configuration
  15.   # XXX required prompt for password input of rot user
  16. end
RAW Paste Data
Top