From 2d8eff32fb0b141dfaab41d7cea0152e8e409d7b Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Tue, 15 Oct 2019 07:54:08 -0700 Subject: [PATCH] Fix-up config-gate opensuse spec-file The %post section referred to the wrong service file, use workerconfig not sysinv-agent. Story: 2006723 Task: 37136 Change-Id: I5d8f82c7e08f714bad1490015bed969ce32cd039 Signed-off-by: Saul Wold --- config-gate/opensuse/config-gate.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config-gate/opensuse/config-gate.spec b/config-gate/opensuse/config-gate.spec index add24a6548..7ed13ef35b 100644 --- a/config-gate/opensuse/config-gate.spec +++ b/config-gate/opensuse/config-gate.spec @@ -34,9 +34,7 @@ General configuration for the initialization gate make install SBINDIR=%{buildroot}%{_sbindir} SYSTEMDDIR=%{buildroot}%{local_etc_systemd} %post -%service_add_post sysinv-agent.service sysinv-agent.target - -/bin/systemctl enable config.service +%service_add_post config.service config.target %post -n %{name}-worker systemctl enable worker-config-gate.service