Browse Source

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``.
postgres
Valentin Lab 11 years ago
parent
commit
8dec082f41
  1. 4
      precise/base-0k/hooks/install

4
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 <<EOF > ~/.ssh/config
cat <<EOF > /root/.ssh/config
Host git.0k.io
User lxc-user

Loading…
Cancel
Save