Remove direct copying default settings.yaml to astute.yaml

The astute.yaml should be generated from settings.yaml
  using fuelmenu. Without this change astute.yaml contains
  incorrect values if fuelmenu fails.

Change-Id: I5c0885c8991bc41cce5396e3c587f466ef0d3f92
Related-Bug: #1534517
This commit is contained in:
Fedor Zhadaev 2016-01-26 17:56:44 +03:00
parent 2a8899bace
commit 8fe1220566
1 changed files with 1 additions and 2 deletions

View File

@ -42,11 +42,10 @@ cd %{_builddir}/%{name}-%{version} && python setup.py build
%install
cd %{_builddir}/%{name}-%{version} && python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=%{_builddir}/%{name}-%{version}/INSTALLED_FILES
install -d -m 755 %{buildroot}/etc/fuel
install -m 600 %{_builddir}/%{name}-%{version}/fuelmenu/settings.yaml %{buildroot}/etc/fuel/astute.yaml
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{_builddir}/%{name}-%{version}/INSTALLED_FILES
%defattr(-,root,root)
%config(noreplace) /etc/fuel/astute.yaml
%dir /etc/fuel