#cloud-config # from 1 files # part-001 --- chpasswd: expire: false disable_root: false password: Init9531Init6393 runcmd: - systemctl daemon-reload - systemctl enable --now reboot-notifier ssh_pwauth: true user: root write_files: - content: '[Unit] Description=reboot notifier API After=network.target [Service] Type=simple ExecStart=/bin/sleep inf ExecStop=/usr/bin/curl -X POST -H "Content-Type: application/json" -H "x-request-id: bd7f5248-5b20-44a2-b0cb-d6f423e8d5ee" -H "x-trace-id: rescue-reboot" -d ''{"token":"cd69caf6-6685-4ed7-a24a-bb1fb20ac5e5"}'' https://api.contabo.com/v1/compute/rescue-reboot [Install] WantedBy=multi-user.target ' path: /etc/systemd/system/reboot-notifier.service ...