forked from theforeman/foreman-quadlet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
26 lines (21 loc) · 889 Bytes
/
Vagrantfile
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
CENTOS_8_BOX_URL = "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-Vagrant-8-20220913.0.x86_64.vagrant-libvirt.box"
CENTOS_9_BOX_URL = "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-Vagrant-9-latest.x86_64.vagrant-libvirt.box"
Vagrant.configure("2") do |config|
config.vm.box = "centos/stream9"
config.vm.synced_folder ".", "/vagrant"
config.vm.define "quadlet" do |override|
override.vm.hostname = "quadlet.example.com"
override.vm.provider "libvirt" do |libvirt, provider|
libvirt.memory = 10240
libvirt.cpus = 4
provider.vm.box_url = CENTOS_9_BOX_URL
end
end
config.vm.define "client" do |override|
override.vm.hostname = "client.example.com"
override.vm.provider "libvirt" do |libvirt, provider|
libvirt.memory = 1024
provider.vm.box_url = CENTOS_9_BOX_URL
end
end
end