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

17 lines
268 B
Bash
Raw Normal View History

2014-09-24 15:16:20 +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 'cleaning up dhcp leases'
rm -f ${ROOTFS}/var/lib/dhcp/*