mitchellh/vagrant — pull request #4092 by akzhan (2014-06-24 09:33:28+00:00)
Title: VirtualBox driver should replace only last occurence of suggested VM name

When suggested VM name is present also in the path, the bug encountered:

INFO subprocess: Starting process: ["/usr/bin/VBoxManage", "import", "/media/arch/srs-vagrant/.vagrant.d/boxes/debian740_provisioned/virtualbox/box.ovf", "--vsys", "0", "--vmname", "srs-vagrant_1403592072958_54939", "--vsys", "0", "--unit", "10", "--disk", "/media/arch/srs-vagrant_1403592072958_54939/vbox/srs-vagrant/box-disk1.vmdk"]

But should be

INFO subprocess: Starting process: ["/usr/bin/VBoxManage", "import", "/media/arch/srs-vagrant/.vagrant.d/boxes/debian740_provisioned/virtualbox/box.ovf", "--vsys", "0", "--vmname", "srs-vagrant_1403600101329_78183", "--vsys", "0", "--unit", "10", "--disk", "/media/arch/srs-vagrant/vbox/srs-vagrant_1403600101329_78183/box-disk1.vmdk"]