From 0f091f9dfefcb686623badd63f4973ccd2c41df7 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 14 Aug 2025 10:13:38 -0500 Subject: [PATCH] autoprovision: Install dch-autoprovision RPM The `notify-online` script and corresponding systemd unit are now available in an RPM. This allowes them to be installed in different scenarios, such as image builds, that do not use Anaconda/kickstart. --- autoprovision.ks.j2 | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/autoprovision.ks.j2 b/autoprovision.ks.j2 index b10b98c..0ceba2d 100644 --- a/autoprovision.ks.j2 +++ b/autoprovision.ks.j2 @@ -1,16 +1,7 @@ +%packages +dch-autoprovision +%end + %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