1
This commit is contained in:
commit
6159290818
22
Vagrantfile
vendored
Normal file
22
Vagrantfile
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
|
||||
|
||||
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
|
1
shared/.placeholder
Normal file
1
shared/.placeholder
Normal file
@ -0,0 +1 @@
|
||||
|
Loading…
Reference in New Issue
Block a user