mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
19 lines
354 B
Bash
Executable file
19 lines
354 B
Bash
Executable file
#!/bin/bash
|
||
|
||
# Compute box name
|
||
BOX="ynh-dev"
|
||
|
||
# Create box
|
||
vagrant up $BOX
|
||
|
||
# Package box
|
||
vagrant package $BOX --output /tmp/$BOX.box
|
||
|
||
# Destroy current box
|
||
vagrant destroy $BOX
|
||
|
||
# User message, and exit
|
||
echo ""
|
||
echo "Your Vagrant box was packaged to /tmp/$BOX.box"
|
||
echo "You might want to run : vagrant box add 'yunohost/ynh-dev' /tmp/$BOX.box"
|
||
exit
|