From 8dec082f419586a243e3e83406146c2ed9ae7c58 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Mon, 23 Jun 2014 14:06:18 +0200 Subject: [PATCH] fix: [base-0k] don't use ``~`` expansion and be explicit, this will avoid surprise when running lxc-deploy with ``sudo``. The script should assume that the HOME is correctly set to ``/root``. --- precise/base-0k/hooks/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/precise/base-0k/hooks/install b/precise/base-0k/hooks/install index 087986f..9bdf300 100755 --- a/precise/base-0k/hooks/install +++ b/precise/base-0k/hooks/install @@ -125,9 +125,9 @@ EOF cp src/etc/ssh/lxc_git_access_id_rsa /etc/ssh/lxc_git_access_id_rsa chmod 0600 /etc/ssh/lxc_git_access_id_rsa -mkdir -p ~/.ssh +mkdir -p /root/.ssh -cat < ~/.ssh/config +cat < /root/.ssh/config Host git.0k.io User lxc-user