Tweak lxc-template as an attempt to make it compatible with Ubuntu 13.10 [GH-150]
This commit is contained in:
parent
225af56227
commit
9e3b371e11
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
||||||
## [0.6.4](https://github.com/fgrehm/vagrant-lxc/compare/v0.6.3...master) (unreleased)
|
## [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)
|
## [0.6.3](https://github.com/fgrehm/vagrant-lxc/compare/v0.6.2...v0.6.3) (Oct 12, 2013)
|
||||||
|
|
||||||
|
|
|
@ -40,8 +40,8 @@ extract_rootfs()
|
||||||
rootfs=$3
|
rootfs=$3
|
||||||
|
|
||||||
echo "Extracting $tarball ..."
|
echo "Extracting $tarball ..."
|
||||||
mkdir -p $(dirname $rootfs)
|
mkdir -p $rootfs
|
||||||
(cd `dirname $rootfs` && tar xfz $tarball)
|
(cd $rootfs && tar xfz $tarball --strip-components=2)
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue