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=<