-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile.debian
33 lines (25 loc) · 999 Bytes
/
Vagrantfile.debian
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "dummy"
config.vm.provider :aws do |aws, override|
aws.access_key_id = ENV['AWS_KEY']
aws.secret_access_key = ENV['AWS_SECRET']
aws.keypair_name = ENV['SSH_KEY_NAME']
override.ssh.private_key_path = ENV['SSH_KEY_FILE']
# Debian in Oregon
aws.region = "us-west-2"
aws.ami = "ami-3d56520d"
# aws.user_data = "#!/bin/bash\nsed -i -e 's/^Defaults.*requiretty/# Defaults requiretty/g' /etc/sudoers"
# K520 - 8 processors
aws.instance_type = 'g2.2xlarge'
override.ssh.username = "admin"
end
# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
# config.vm.provision "shell", inline: <<-SHELL
# sudo apt-get update
# sudo apt-get install -y apache2
# SHELL
end