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 <sgw@linux.intel.com>
This commit is contained in:
Saul Wold 2019-10-15 07:54:08 -07:00
parent 7a5b6e9555
commit 2d8eff32fb
1 changed files with 1 additions and 3 deletions

View File

@ -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