From: Thierry Parmentelat Date: Thu, 26 Apr 2012 15:08:14 +0000 (+0200) Subject: cosmetic, isolate the lxc git repo in the header X-Git-Tag: 5.0-rc27~26 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3f1578bec016588f1dbdbf3a07a988a35002156a;p=build.git cosmetic, isolate the lxc git repo in the header --- diff --git a/vbuild-init-lxc.sh b/vbuild-init-lxc.sh index def2330e..cb3c208c 100755 --- a/vbuild-init-lxc.sh +++ b/vbuild-init-lxc.sh @@ -20,6 +20,7 @@ COMMAND_VBUILD="vbuild-init-lxc.sh" COMMAND_MYPLC="vtest-init-lxc.sh" lxc_version="0.8.0-rc2" +lxc_git_repo="git://lxc.git.sourceforge.net/gitroot/lxc/lxc" function bridge_init () { @@ -155,7 +156,7 @@ function prepare_host() { echo "Found version" '['$lxc_installed_version']' echo "Installing lxc ..." cd /root - [ -d lxc ] || git clone git://lxc.git.sourceforge.net/gitroot/lxc/lxc + [ -d lxc ] || git clone "$lxc_git_repo" cd lxc git pull git checkout $lxc_version