diff --git a/CHANGELOG.md b/CHANGELOG.md index e01d723..9f159fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## [0.?.?](https://github.com/fgrehm/vagrant-lxc/compare/v0.3.4...master) (unreleased) + - BTRFS-friendly base boxes [#81](https://github.com/fgrehm/vagrant-lxc/issues/81) - Extended templates path lookup [#77](https://github.com/fgrehm/vagrant-lxc/issues/77) (tks to @aries1980) - Fix default group on the rake task [#82](https://github.com/fgrehm/vagrant-lxc/issues/82) (tks to @cduez) diff --git a/boxes/debian/lxc-template b/boxes/debian/lxc-template index e007f52..1a9d145 100755 --- a/boxes/debian/lxc-template +++ b/boxes/debian/lxc-template @@ -117,8 +117,6 @@ extract_rootfs() echo "Extracting $tarball ..." mkdir -p $(dirname $rootfs) - # Make sure the rootfs does not exist before extracting - rm -rf $rootfs (cd `dirname $rootfs` && tar xfz $tarball) return 0 } diff --git a/boxes/ubuntu/lxc-template b/boxes/ubuntu/lxc-template index c56b290..58724f4 100755 --- a/boxes/ubuntu/lxc-template +++ b/boxes/ubuntu/lxc-template @@ -165,8 +165,6 @@ extract_rootfs() echo "Extracting $tarball ..." mkdir -p $(dirname $rootfs) - # Make sure the rootfs does not exist before extracting - rm -rf $rootfs (cd `dirname $rootfs` && tar xfz $tarball) return 0 }