Skip to content

Commit

Permalink
Fix copy of .ssh directory content
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Jul 27, 2021
1 parent 0941a08 commit 1a21d80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/ee/agent-smith/scripts/qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ outdir="/root/_output"


rm -Rf ~/.ssh
cp -r "${outdir}/.ssh" ~/.ssh
sudo cp -r "${outdir}/.ssh" ~/.ssh
sudo chown -R "$(id -u):$(id -g)" ~/.ssh

sudo qemu-system-x86_64 -kernel "${vmlinuz}" \
-boot c -m 2049M -hda "${outdir}/bionic-server-cloudimg-amd64.qcow2" \
Expand Down

0 comments on commit 1a21d80

Please sign in to comment.