Browse Source

added a hostname to the vm

pull/1/head
Francois Lesueur 2 years ago
parent
commit
5545db5891
  1. 5
      Vagrantfile.dist

5
Vagrantfile.dist

@ -26,6 +26,7 @@ Vagrant.configure("2") do |config|
end
config.vm.box = "debian/bullseye64"
config.vm.hostname = 'kaz-vm'
config.disksize.size = '32GB'
# Disable automatic box update checking. If you disable this, then
@ -66,7 +67,7 @@ Vagrant.configure("2") do |config|
# # Customize the amount of memory on the VM:
vb.memory = "4096"
vb.cpus="2"
vb.name = "kaz-dev-amd64"
vb.name = "kaz-vm"
vb.customize ["modifyvm", :id, "--vram", "64", "--clipboard-mode", "bidirectional", '--graphicscontroller', 'vmsvga', '--natnet1', '192.168.64.0/24']
vb.gui = true
@ -85,7 +86,7 @@ Vagrant.configure("2") do |config|
#permet d'avoir un répertoire partagé entre la VM et le host
config.vm.synced_folder "/tmp/", "/tmp_host"
config.vm.provision "shell" do |s|
s.inline = "/vagrant/files/provision.sh"
s.env = {"KAZGUARD" => "true", "HOSTLANG" => ENV['LANG'], "NOKAZ" => ENV['NOKAZ'], "KAZBRANCH" => ENV['KAZBRANCH']}

Loading…
Cancel
Save