Skip to content

Commit

Permalink
fish: prep_vm_archinstall: Copy public key to VM for one less prompt
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
  • Loading branch information
nathanchance committed Jan 6, 2025
1 parent a1c35d1 commit 3446296
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fish/functions/prep_vm_archinstall.fish
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
function prep_vm_archinstall -d "Prepare archinstall files for virtual machine installation"
read -P 'Password for virtual machine user: ' -s user_pass

ssh-copy-id -p 8022 root@localhost
or return

set creds /tmp/creds.json
echo '{
"!root-password": null,
Expand Down

0 comments on commit 3446296

Please sign in to comment.