Get rid of rootfs removal on lxc-templates
I'm not even sure why I added this but removing it fixes #81
This commit is contained in:
parent
ba92ca171b
commit
5eb15d8667
3 changed files with 1 additions and 4 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue