At the time this runs, the vmdk is not yet created.
Just saying.
pita.
On Tuesday, July 12, 2016 at 11:47:21 AM UTC+1, Matt wrote:
>
> 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/1e74f529-c1a3-449b-adc2-278a6ccb5e04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.