This repository has been archived on 2019-11-14. You can view files and clone it, but cannot push or open issues or pull requests.
rip-vm2/VM1-6/Vagrantfile

34 lines
962 B
Ruby
Raw Normal View History

2019-10-25 10:44:49 +02:00
# -*- coding: utf-8 -*-
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
##### Vos Configurations
config.vm.box = "vm1-6"
# Ajout d'une interface réseau (privée)
config.vm.network "private_network", ip:"0.0.0.0", auto_config: false, virtualbox__intnet: "LAN3"
config.vm.network "private_network", ip:"0.0.0.0", auto_config: false, virtualbox__intnet: "LAN1-6"
##### NE PAS MODIFIER CETTE PARTIE
config.vm.hostname = File.basename(Dir.getwd)
### Dossiers partagés
config.vm.synced_folder ".", "/vagrant", owner: "m1reseaux"
config.vm.synced_folder "../partage", "/mnt/partage", create: true, owner: "m1reseaux"
config.vm.provider "virtualbox" do |vb|
# Commenter pour s'exécuter sans GUI
2019-11-06 07:36:00 +01:00
# vb.gui = true
2019-10-25 10:44:49 +02:00
vb.customize ["modifyvm", :id, "--memory", "768"]
end
end