Skip to content

Commit

Permalink
Fixes to the Vagrantfile
Browse files Browse the repository at this point in the history
Write to images/ directory the built images
  • Loading branch information
hellais committed Feb 25, 2015
1 parent 7b8658b commit e541a21
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Vagrantfile
Expand Up @@ -3,17 +3,19 @@

$setup= <<SETUP
apt-get update
apt-get install -y debootstrap qemu-utils extlinux kpartx part python-cliapp
apt-get install -y debootstrap qemu-utils extlinux kpartx parted python-cliapp mbr
wget -O /usr/bin/vmdebootstrap \
http://git.liw.fi/cgi-bin/cgit/cgit.cgi/vmdebootstrap/plain/vmdebootstrap
chmod +x /usr/bin/vmdebootstrap
cd /root/lepidopter-build/images/
/root/lepidopter-build/lepidopter-vmdebootstrap_build.sh
SETUP

Vagrant.configure("2") do |config|

# Debian wheezy box
config.vm.box = "wheezy7.6-amd64"
config.vm.box_url = "https://github.com/jose-lpa/packer-debian_7.6.0/releases/download/1.0/packer_virtualbox-iso_virtualbox.box"
config.vm.box = "trusty32"
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-i386-vagrant-disk1.box"

config.vm.hostname = "lepidopter"

Expand Down
2 changes: 2 additions & 0 deletions images/.gitignore
@@ -0,0 +1,2 @@
*
!.gitignore*

0 comments on commit e541a21

Please sign in to comment.