summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-09-02 00:00:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-09-02 00:00:18 -0300
commita8f529abf4323a5475f27bff5cc3451e5713d6b3 (patch)
tree9e428b548f390d2f23435089a8f96de412d6bd41
parentf81237f1f34b67b4862c734ba71183ae57be8ba2 (diff)
downloadhydra-a8f529abf4323a5475f27bff5cc3451e5713d6b3.tar.gz
hydra-a8f529abf4323a5475f27bff5cc3451e5713d6b3.tar.bz2
Bootless: add annex.sshcaching config
-rwxr-xr-xshare/hydra/bootless5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/hydra/bootless b/share/hydra/bootless
index 5b5300c..819a464 100755
--- a/share/hydra/bootless
+++ b/share/hydra/bootless
@@ -115,7 +115,7 @@ EOF
fi
(
- cd ${tmpdir}/boot && git annex init && git annex untrust here && git annex sync && git annex get .
+ cd ${tmpdir}/boot && git annex init && git config annex.sshcaching false && git annex untrust here && git annex sync && git annex get .
)
if [ $? != 0 ]; then
@@ -208,7 +208,7 @@ function hydra_bootless_init {
if [ ! -z "$1" ]; then
# Clone from url
git clone $1 $HYDRA_FOLDER/bootless &&
- ( cd $HYDRA_FOLDER/bootless && git annex init && git annex sync )
+ ( cd $HYDRA_FOLDER/bootless && git annex init && git config annex.sshcaching false && git annex sync )
exit $?
fi
@@ -267,6 +267,7 @@ EOF
cd $HYDRA_FOLDER/bootless
git init
git annex init
+ git config annex.sshcaching false
git add boot
git add {default,custom,grub}/.empty
git add default/{debian,memtest,ubuntu}/.empty