I am working with vagrant 1.7.4, which i use together with lxc 1.1.5 on ubuntu 15.10.
I was working with it the last few weeks and never did vagrant halt before shutting down my computer. Now it happened to me today that my vagrant box was corrupted and it got newly created. In this process it deleted my whole database of course. I have two questions:
Is it right, that vagrant or lxc does not react with a gracefull shutdown when getting a SIGTERM signal from ubuntu when I shut it down? And because of that vagrant boxes can get corrupted? I get this idea because a co-worker told me that this could happen and because of this and this
Is it possible to change the default behaviour of vagrant up, so instead of just creating a new container and overwriting the old one, when it doesn't find a right box. It informs the user and waits for user input. So I could stop vagrant up and do a sql dump before creatinx the box new? This question is probably a change request for vagrant, but I guess there is an easy workaround which I don't know?