Skip to content

Instantly share code, notes, and snippets.

@satta
Last active December 15, 2015 22:13
Show Gist options
  • Save satta/6a4d31fb2170d9ae081f to your computer and use it in GitHub Desktop.
Save satta/6a4d31fb2170d9ae081f to your computer and use it in GitHub Desktop.
Vagrantfile for AEGeAn debugging
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "debian/jessie64"
config.vm.box_check_update = false
config.vbguest.auto_update = false
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
# config.vm.network "public_network", bridge: "wlan0"
config.vm.network "private_network", type: "dhcp"
# If true, then any SSH connect will enable agent forwarding.
# Default value: false
config.ssh.forward_agent = true
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
#config.vm.synced_folder "/Users/satta/uni/debian-work", "/debian-work", type: "nfs"
#config.vm.synced_folder "/Users/satta/dotfiles", "/pbuilder-dotfiles", type: "nfs"
#config.vm.synced_folder "v-resources", "/pbuilder-resources", type: "nfs"
#config.vm.synced_folder "v-results", "/pbuilder-results", type: "nfs"
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
end
#config.vm.provision :shell, path: "bootstrap.sh"
config.vm.provision "shell", inline: "export DEBIAN_FRONTEND=noninteractive; apt-get update; apt-get install -y build-essential libgenometools0-dev gdb libcairo2-dev git valgrind"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment