in Virtualbox provider this worked fine to make a disk file_to_disk = './data.vmdk' config.vm.provider :virtualbox do | vb | unless File.exist?(file_to_disk) vb.customize ['createhd', '--filename', file_to_disk, '--size', 70 * 1024] end vb.customize ['storageattach', :id, '--storagectl', 'IDE', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk] end
In VMWare provider, the below throws "Cannot use customize". Hw do I make a disk? file_to_disk = './data.vmdk' config.vm.provider "vmware_desktop" do |vb| vb.vmx["ethernet0.pcislotnumber"] = "32" unless File.exist?(file_to_disk) vb.customize ['createhd', '--filename', file_to_disk, '--size', 70 * 1024] end vb.customize ['storageattach', :id, '--storagectl', 'IDE', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk] end -- 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/hashicorp/vagrant/issues Discuss: https://discuss.hashicorp.com/c/vagrant/24 --- 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 vagrant-up+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/d2db0cbe-727e-460f-b5b6-d31da9ed04bfo%40googlegroups.com.