Commit a1db9c75 authored by Pietro Albini's avatar Pietro Albini

lxd-container: fix wrong path in the bootstrap script

parent cdb902d1
...@@ -30,6 +30,6 @@ echo "%passwordless-sudo ALL=(ALL:ALL) NOPASSWD:ALL" | \ ...@@ -30,6 +30,6 @@ echo "%passwordless-sudo ALL=(ALL:ALL) NOPASSWD:ALL" | \
# Authorize the hypervisor manager to connect to the guest manager # Authorize the hypervisor manager to connect to the guest manager
ex sudo -u manager mkdir -p /home/manager/.ssh ex sudo -u manager mkdir -p /home/manager/.ssh
cat /home/manager/.ssh/authorized_keys | \ cat /etc/ssh/authorized_keys/manager | \
ex sudo -u manager bash -c "cat > /home/manager/.ssh/authorized_keys" ex sudo -u manager bash -c "cat > /home/manager/.ssh/authorized_keys"
ex chmod 0600 /home/manager/.ssh/authorized_keys ex chmod 0600 /home/manager/.ssh/authorized_keys
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment