-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile.template
38 lines (33 loc) · 1023 Bytes
/
Vagrantfile.template
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
34
35
36
37
38
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
if Vagrant.has_plugin?("vagrant-vbguest")
config.vbguest.auto_update = false
end
config.ssh.insert_key = false
config.ssh.verify_host_key = false
config.vm.box_check_update = false
config.vm.synced_folder ".""", "/vagrant", id: "vagrant-root", disabled: true
config.vm.define 'rhel8' do |srv|
srv.vm.box = 'rhel/8'
srv.vm.hostname = 'rhel8-vm'
srv.vm.network 'private_network', ip: '192.168.56.8'
srv.vm.provider :virtualbox do |virtualbox|
virtualbox.name = 'rhel8-vm'
virtualbox.gui = false
virtualbox.customize ["modifyvm", :id, "--memory", 4096]
virtualbox.customize ["modifyvm", :id,
"--boot1", "disk",
"--boot2", "net",
"--boot3", "none",
"--boot4", "none",
"--audio", "none",
"--cpus", 2,
"--memory", 4096,
"--vrde", "on",
"--graphicscontroller", "VMSVGA",
"--vram", "128"
]
end
end
end