vagrant-lxc-base-boxes/debian/clean.sh

17 lines
276 B
Bash
Raw Normal View History

2014-03-25 03:26:19 +00:00
#!/bin/bash
set -e
source common/ui.sh
source common/utils.sh
debug 'Bringing container up'
utils.lxc.start
info "Cleaning up '${CONTAINER}'..."
log 'Removing temporary files...'
rm -rf ${ROOTFS}/tmp/*
log 'Removing downloaded packages...'
utils.lxc.attach apt-get clean