Remove DHCP leases before packaging

This commit is contained in:
Fabio Rehm 2014-09-23 00:30:38 -03:00
parent 9d276c9493
commit 8f522c7127
2 changed files with 12 additions and 2 deletions

View file

@ -1,4 +1,11 @@
## YYYY-MM-DD (unreleased)
## v1.2.0 (Sep 22, 2014)
IMPROVEMENTS:
- Remove DHCP leases before packaging
## v1.1.0 (May 3, 2014)
BASE BOXES:
@ -29,5 +36,5 @@ BASE BOXES:
## Previous
The changelog began with version YYYY-MM-DD and before that the changes
The changelog began with version 1.1.0 and before that the changes
were being tracked from [vagrant-lxc](https://github.com/fgrehm/vagrant-lxc/blob/master/CHANGELOG.md).

3
debian/clean.sh vendored
View file

@ -12,5 +12,8 @@ info "Cleaning up '${CONTAINER}'..."
log 'Removing temporary files...'
rm -rf ${ROOTFS}/tmp/*
log 'cleaning up dhcp leases'
rm -f ${ROOTFS}/var/lib/dhcp/*
log 'Removing downloaded packages...'
utils.lxc.attach apt-get clean