Skip to content

Commit 335075a

Browse files
committed
Homework dmitry-lyutenko#1: Create Vagrant box(3)
1 parent 0ee111b commit 335075a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Vagrantfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
# Describe VMs
22
MACHINES = {
33
# VM name "kernel update"
4-
:"kernel-update" => {
4+
:"kernel update" => {
55
# VM box
66
:box_name => "incertov/centos-7-5",
77
# VM CPU count
88
:cpus => 2,
99
# VM RAM size (Mb)
1010
:memory => 1024,
11-
# networks
12-
:net => [],
1311
# forwarded ports
1412
:forwarded_port => []
13+
#:forwarded_port => [guest: 22, host: 2200, protocol: "tcp"]
1514
}
1615
}
1716

@@ -49,4 +48,4 @@ Vagrant.configure("2") do |config|
4948
end
5049
end
5150
end
52-
ends
51+
end

0 commit comments

Comments
 (0)