#cloud-config
autoinstall:
  version: 1
  identity:
    hostname: vagrant
    username: vagrant
    # Generated via: printf vagrant | mkpasswd -m sha-512 -S vagrant. -s
    password: "$6$vagrant.$sd6r0/OKL.FIGZbhanVkrLassSxoPRv1h5lkISsmBONqaLUGVXkEcD22Ddak5W8JSxeU0VFkU/We1Y7o4hVO/1"
  early-commands:
    # otherwise packer tries to connect and exceed max attempts:
    - systemctl stop ssh
  ssh:
    install-server: true