debian netboot: use new meta key API, add Jo's key

This commit is contained in:
Timothée Floure 2021-03-01 09:57:35 +01:00
parent dbc42910aa
commit f0f09ca275
Signed by: tfloure
GPG key ID: 4502C902C00A1E12

View file

@ -44,8 +44,8 @@ cp "$chroot_dir"/boot/vmlinuz-* "$output_dir/kernel-$basename"
# Deploy SSH keys. # Deploy SSH keys.
mkdir -p "$chroot_dir/root/.ssh" mkdir -p "$chroot_dir/root/.ssh"
for user in tfloure; do for user in tfloure jdesroches; do
curl "https://meta.recycled.cloud/~$user.keys" >> "$chroot_dir/root/.ssh/authorized_keys" curl "https://meta.recycled.cloud/keys/$user" >> "$chroot_dir/root/.ssh/authorized_keys"
done done
# Make sure there is /init in the initramfs to avoid kernel panic. # Make sure there is /init in the initramfs to avoid kernel panic.