infra-vagrant-host/ansible/files/home.developer.src.Vagrantfile

32 lines
793 B
Text
Raw Permalink Normal View History

2023-02-17 14:48:29 +00:00
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