File tree 2 files changed +49
-0
lines changed
2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ [ TOC]
2
+
3
+ # Links
4
+ - https://atlas.hashicorp.com/maier/boxes/alpine-3.4-x86_64
5
+ - [ Vagrant plugin] ( https://github.com/maier/vagrant-alpine )
6
+ - https://github.com/maier/packer-templates/
7
+
8
+ # QuickStart
9
+
10
+ ``` sh
11
+ vagrant plugin install vagrant-alpine
12
+
13
+ vagrant init maier/alpine-3.4-x86_64
14
+
15
+ vagrant up
16
+ ```
Original file line number Diff line number Diff line change
1
+ # -*- mode: ruby -*-
2
+ # vi: set ft=ruby :
3
+
4
+ Vagrant . configure ( "2" ) do |config |
5
+
6
+ config . vm . box = "maier/alpine-3.4-x86_64"
7
+ config . vm . box_url = "https://atlas.hashicorp.com/maier/boxes/alpine-3.4-x86_64/versions/1.0.0/providers/virtualbox.box"
8
+ config . vm . box_check_update = false
9
+
10
+ # config.vm.network "forwarded_port", guest: 80, host: 8080
11
+
12
+ # config.vm.network "private_network", ip: "192.168.33.210"
13
+
14
+ # config.vm.network "public_network"
15
+
16
+ config . vm . provider "virtualbox" do |vb |
17
+ vb . gui = false
18
+ vb . cpus = 1
19
+ vb . memory = "512"
20
+ end
21
+
22
+ config . vbguest . auto_update = false
23
+
24
+ config . vm . synced_folder "." , "/vagrant" , disabled : true
25
+
26
+ config . ssh . insert_key = false
27
+ config . ssh . shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"
28
+
29
+ config . vm . provision "shell" , inline : <<-SHELL
30
+ echo "Hello world!"
31
+ SHELL
32
+
33
+ end
You can’t perform that action at this time.
0 commit comments