Tweak lxc-template as an attempt to make it compatible with Ubuntu 13.10 [GH-150]

This commit is contained in:
Fabio Rehm 2013-10-22 22:30:34 -02:00
parent 225af56227
commit 9e3b371e11
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
## [0.6.4](https://github.com/fgrehm/vagrant-lxc/compare/v0.6.3...master) (unreleased)
IMPROVEMENTS:
- Make `lxc-template` compatible with Ubuntu 13.10 [#150](https://github.com/fgrehm/vagrant-lxc/issues/150)
## [0.6.3](https://github.com/fgrehm/vagrant-lxc/compare/v0.6.2...v0.6.3) (Oct 12, 2013)

View file

@ -40,8 +40,8 @@ extract_rootfs()
rootfs=$3
echo "Extracting $tarball ..."
mkdir -p $(dirname $rootfs)
(cd `dirname $rootfs` && tar xfz $tarball)
mkdir -p $rootfs
(cd $rootfs && tar xfz $tarball --strip-components=2)
return 0
}