[Unit] Description=Write warning to Azure ephemeral disk After=cloud-config.service ConditionVirtualization=microsoft ConditionPathIsMountPoint=/mnt ConditionPathExists=/dev/disk/azure/resource-part1 [Service] Type=oneshot ExecStart=/usr/sbin/ephemeral-disk-warning RemainAfterExit=yes StandardOutput=journal+console [Install] WantedBy=multi-user.target