Hi,
Does anybody have a solution to setting hdd size (not partitioning, just
the disk size) on vagrant up?
The following seems plausible but does not work...yet
config.vm.provider "vmware_workstation" do |v|
v.gui = true
v.vmx["memsize"] = "4096"
v.vmx["numvcpus"] = "4"
file_to_disk = File.realpath( "." ).to_s + "/disk.vmdk"
vdiskmanager = 'C:\Program Files (x86)\VMware\VMware
Workstation\vmware-vdiskmanager.exe'
'#{vdiskmanager} -x 40Gb #{file_to_disk}'
end
Any suggestions?
Thanks,
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/3abe0773-dc7d-410c-bd99-836998965edb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.