mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
Small tweaks to improve the rebuild process
This commit is contained in:
parent
0a989d0c56
commit
8074e71d8a
1 changed files with 2 additions and 1 deletions
3
ynh-dev
3
ynh-dev
|
@ -162,6 +162,7 @@ function rebuild_ynhdev()
|
||||||
vagrant up $BOX --provider=lxc || critical "Could not create the box ?"
|
vagrant up $BOX --provider=lxc || critical "Could not create the box ?"
|
||||||
|
|
||||||
# Package box
|
# Package box
|
||||||
|
rm -f /tmp/ynh-dev.box
|
||||||
vagrant package $BOX --output /tmp/$BOX.box || critical "Could not package package the box ?"
|
vagrant package $BOX --output /tmp/$BOX.box || critical "Could not package package the box ?"
|
||||||
|
|
||||||
# Destroy current box
|
# Destroy current box
|
||||||
|
@ -171,7 +172,7 @@ function rebuild_ynhdev()
|
||||||
|
|
||||||
# User message, and exit
|
# User message, and exit
|
||||||
info "The Vagrant box was packaged to /tmp/$BOX.box"
|
info "The Vagrant box was packaged to /tmp/$BOX.box"
|
||||||
info "You might want to run : vagrant box add 'yunohost/ynh-dev' /tmp/$BOX.box"
|
info "You might want to run : vagrant box add 'yunohost/ynh-dev' /tmp/$BOX.box --force"
|
||||||
}
|
}
|
||||||
|
|
||||||
function show_vm_ip()
|
function show_vm_ip()
|
||||||
|
|
Loading…
Reference in a new issue