Skip to content

Commit

Permalink
dummy keys file
Browse files Browse the repository at this point in the history
  • Loading branch information
nothub committed Apr 28, 2024
1 parent 6309078 commit a1435ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
/SHA256SUMS
/SHA256SUMS.sign
/devbox.lock
/configs/authorized_keys
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ if test -f "${out_file}"; then
rm -f "${out_file}"
fi

# with no authorized keys, create dummy file
if test ! -f "configs/authorized_keys"; then
echo -n >"configs/authorized_keys"
fi

# repack iso
rm -f "${iso_file//.iso/-auto.iso}"
xorriso -indev "${iso_file}" \
Expand Down

0 comments on commit a1435ce

Please sign in to comment.