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 authored and roboquat committed Jul 28, 2021
1 parent de9223c commit 529ca01
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 529ca01

Please sign in to comment.