Speed up containers creation by removing unneded rsync call from lxc-template

Was able to drop project's "/example" `vagrant up` from 42s down to 29s

Closes #40
This commit is contained in:
Fabio Rehm 2013-03-29 02:07:36 -03:00
parent b227d1b7cb
commit a33b32c164

View file

@ -161,8 +161,8 @@ copy_ubuntu()
# make a local copy of the miniubuntu
echo "Copying rootfs to $rootfs ..."
mkdir -p $rootfs
rsync -a $cache/rootfs-$arch/ $rootfs/ || return 1
mkdir -p $(dirname $rootfs)
mv $cache/rootfs-$arch $rootfs || return 1
return 0
}