Remove DHCP leases before packaging
This commit is contained in:
parent
9d276c9493
commit
8f522c7127
2 changed files with 12 additions and 2 deletions
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -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:
|
BASE BOXES:
|
||||||
|
|
||||||
|
@ -29,5 +36,5 @@ BASE BOXES:
|
||||||
|
|
||||||
## Previous
|
## 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).
|
were being tracked from [vagrant-lxc](https://github.com/fgrehm/vagrant-lxc/blob/master/CHANGELOG.md).
|
||||||
|
|
3
debian/clean.sh
vendored
3
debian/clean.sh
vendored
|
@ -12,5 +12,8 @@ info "Cleaning up '${CONTAINER}'..."
|
||||||
log 'Removing temporary files...'
|
log 'Removing temporary files...'
|
||||||
rm -rf ${ROOTFS}/tmp/*
|
rm -rf ${ROOTFS}/tmp/*
|
||||||
|
|
||||||
|
log 'cleaning up dhcp leases'
|
||||||
|
rm -f ${ROOTFS}/var/lib/dhcp/*
|
||||||
|
|
||||||
log 'Removing downloaded packages...'
|
log 'Removing downloaded packages...'
|
||||||
utils.lxc.attach apt-get clean
|
utils.lxc.attach apt-get clean
|
||||||
|
|
Loading…
Reference in a new issue