add net-tools in common role + vagrant garage debian 13 box use in Vagrantfile

This commit is contained in:
Grégory Lebreton 2026-01-20 10:28:17 +01:00
parent 818bb2aa22
commit e2bba2c15c
2 changed files with 9 additions and 2 deletions

5
Vagrantfile vendored
View File

@ -7,9 +7,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.ssh.insert_key = false
config.vm.synced_folder ".", "/vagrant", disabled: true
# Box configuration (globale)
config.vm.box = settings['box']['name']
config.vm.box_url = settings['box']['url']
settings['vms'].each do |vm|
config.vm.define vm['name'] do |node|
node.vm.box = vm['os']
node.vm.hostname = vm['hostname']
node.vm.network :private_network, ip: vm['ip']
# provider

View File

@ -3,7 +3,11 @@ vms:
hostname: "server-1"
ip: "192.168.60.2"
memory: 1024
os: "trixie"
box:
name: "local/debian-13"
url: "https://git.legaragenumerique.fr/GARAGENUM/vagrant-boxes/raw/main/debian-13/debian-13-3-3.box"
provider:
type: "virtualbox"