[Unit] Description=Initial cloud-init job (pre-networking) Wants=local-fs.target After=local-fs.target [Service] Type=oneshot ExecStart=/usr/bin/cloud-init init --local RemainAfterExit=yes TimeoutSec=0 # Output needs to appear in instance console output StandardOutput=journal+console [Install] WantedBy=cloud-init.target