Is it possible to restart a ubuntu machine when it has not enough space?
Facts: I have created a vagrant machine that is used as a jenkins slave. This machine uses /tmp as a workspace. From time to time this gets filled and I just want to make the machine restart automatically. Or clean /tmp.
Is this possible? How?
what I did was to add in bashrc a script that cleans up /tmp and installed thiss plugin https://wiki.jenkins-ci.org/display/JENKINS/Global+Post+Script+Plugin
After every job I just ssh to the slave machine, bashrc will do the rest