vagrant-almalinux8-hyperv/Vagrantfile

23 lines
641 B
Ruby
Raw Normal View History

2023-06-05 23:42:26 +03:00
Vagrant.configure("2") do |config|
config.vm.box = "almalinux/8"
config.ssh.username = "vagrant"
config.ssh.password = "vagrant"
config.ssh.private_key_path = "~/.vagrant.d/insecure_private_key"
# config.ssh.private_key_path = "~/.ssh/id_rsa"
config.vm.provider "hyperv" do |hv, override|
hv.vmname = "almalinux8"
hv.memory = 2048
hv.cpus = 2
override.vm.allowed_synced_folder_types = [:rsync]
# hv.smb_guest = false
end
config.vm.network "public_network", bridge: "204-net"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.synced_folder "shared/", "/vagrant", type: "rsync"
end