SSH during installation

Hi all, I’m trying to deploy Nixos to our vSphere cluster using Packer. The build is working so that the O/S starts and I get the beginning of the installation, but after that it stalls due to unable to connect thru SSH. Does anyone know how I can continue with the installation? Is there any way I can inject my SSH keys remotely so I can continue?

You’d have to build a custom image where sshd is enabled and trusts your key.