From 6159290818901a4520304422bf2e44189fc9fc39 Mon Sep 17 00:00:00 2001 From: Eliezer Croitoru Date: Mon, 5 Jun 2023 23:42:26 +0300 Subject: [PATCH] 1 --- Vagrantfile | 22 ++++++++++++++++++++++ shared/.placeholder | 1 + 2 files changed, 23 insertions(+) create mode 100644 Vagrantfile create mode 100644 shared/.placeholder diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..232f97f --- /dev/null +++ b/Vagrantfile @@ -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 diff --git a/shared/.placeholder b/shared/.placeholder new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/shared/.placeholder @@ -0,0 +1 @@ +