32 lines
793 B
Text
32 lines
793 B
Text
|
ENV['VAGRANT_EXPERIMENTAL']='1'
|
||
|
|
||
|
Vagrant.configure('2') do |config|
|
||
|
config.vm.box = 'debian/bullseye64'
|
||
|
|
||
|
config.vm.provider 'libvirt' do |domain|
|
||
|
domain.memory = 2000
|
||
|
domain.nested = true
|
||
|
domain.cpus = 2
|
||
|
domain.cpu_mode = "host-model"
|
||
|
domain.management_network_name = 'vagrant-libvirt-new'
|
||
|
domain.management_network_address = '192.168.124.0/24'
|
||
|
end
|
||
|
|
||
|
# nouveau serveur applicatif
|
||
|
config.vm.define 'bisket-jatra' do |machine|
|
||
|
machine.vm.hostname = 'bisket-jatra'
|
||
|
end
|
||
|
|
||
|
# nouveau serveur backups
|
||
|
config.vm.define 'nag-panchami' do |machine|
|
||
|
machine.vm.hostname = 'nag-panchami'
|
||
|
end
|
||
|
|
||
|
config.vm.provision 'shell', inline: <<-MARK
|
||
|
apt-get update
|
||
|
apt-get install -y python3
|
||
|
MARK
|
||
|
config.vm.provision 'shell', inline: 'echo "SUCCESS"'
|
||
|
end
|
||
|
|