n 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". How do I make a disk? file_to_disk = './data.vmdk' config.vm.provider "vmware_desktop" 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 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/f15b89ac-6aa2-4454-b387-e1a59621bbd5o%40googlegroups.com.