diff --git a/live-build/ubuntu-cpc/hooks.d/base/vagrant.binary b/live-build/ubuntu-cpc/hooks.d/base/vagrant.binary index efcd3d4b..19e8738b 100755 --- a/live-build/ubuntu-cpc/hooks.d/base/vagrant.binary +++ b/live-build/ubuntu-cpc/hooks.d/base/vagrant.binary @@ -66,7 +66,8 @@ trap cleanup_vagrant EXIT ### https://github.com/hashicorp/vagrant/tree/main/keys ########################## -ssh-keygen -t ed25519 -C "ubuntu_vagrant_insecure_key" -b 4096 -f ${box_d}/vagrant_insecure_key +ssh-keygen -t ed25519 -C "ubuntu_vagrant_insecure_key" -b 4096 \ + -f ${box_d}/vagrant_insecure_key -N "" pub_key=$(cat ${box_d}/vagrant_insecure_key.pub)