Hello The easiest way is to create a VM with the size you require.
What OS are youy after? have you look into packer ? Alvaro On Tue, Jul 12, 2016 at 4:47 AM, Matt <[email protected]> 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/3abe0773-dc7d-410c-bd99-836998965edb%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/3abe0773-dc7d-410c-bd99-836998965edb%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAHqq0exERLZSdvRGFNymemCdotHO2P8Eho7PMqtZW1VF9ythvg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
