mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
remove temp dir after package creation
This commit is contained in:
parent
82c2f69c5d
commit
9ad2389a92
@ -41,6 +41,7 @@ module VagrantPlugins
|
||||
File.write(@tmp_dir + '/Vagrantfile',vagrantfile_content)
|
||||
assebmle_box(boxname)
|
||||
FileUtils.mv(@tmp_dir + '/' + boxname, '../' + boxname)
|
||||
FileUtils.rm_rf(@tmp_dir)
|
||||
env[:ui].info('Box created')
|
||||
env[:ui].info('You can now add the box:')
|
||||
env[:ui].info("vagrant box add #{boxname} --name any_comfortable_name")
|
||||
|
Loading…
Reference in New Issue
Block a user