%post cat > /root/.ssh/authorized_keys < /usr/local/libexec/notify-online.sh <<'EOF' {% include "notify-online.sh" %} EOF chmod +x /usr/local/libexec/notify-online.sh cat > /etc/systemd/system/notify-online.service <<'EOF' {% include "notify-online.service" %} EOF systemctl enable --no-reload notify-online.service %end