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:
parent
b227d1b7cb
commit
a33b32c164
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue