From 5a7073b650c810aab241c03787054db26629321a Mon Sep 17 00:00:00 2001 From: Eliezer Croitoru Date: Tue, 6 Jun 2023 15:22:19 +0300 Subject: [PATCH] 3 --- .gitignore | 1 + Vagrantfile | 36 ++++++++++++++++++++++-------------- box | 1 + net | 1 + vmcpu | 1 + vmmem | 1 + vmname | 2 ++ 7 files changed, 29 insertions(+), 14 deletions(-) create mode 100644 .gitignore create mode 100644 box create mode 100644 net create mode 100644 vmcpu create mode 100644 vmmem create mode 100644 vmname diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a977916 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.vagrant/ diff --git a/Vagrantfile b/Vagrantfile index 6b9e6ff..adf460f 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,6 +1,19 @@ $ENALBE_SYNC_FOLDER = false -$HOST_NET = "204-net" + +$ENALBE_SYNC_FOLDER = true if File.exist?("sync_shared") + +$HOST_NET = File.readlines('net').first.chomp +$VM_NAME = File.readlines('vmname').first.chomp +$VM_MEM = File.readlines('vmmem').first.chomp.to_i +$VM_VCPU = File.readlines('vmcpu').first.chomp.to_i + +$BOX = File.readlines('box').first.chomp + + +# Will not work on Hyper-V +#$VM_DISK_SIZE = File.readlines('disksize').first.chomp + $PROVISION_SSH_KEY_SCRIPT=<