Accepting request 977577 from home:lee_duncan:branches:network
- Set initiatorname in %post (at end of install), for cases where root is read-only at startup time (bsc#1198457) OBS-URL: https://build.opensuse.org/request/show/977577 OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=201
This commit is contained in:
parent
0278f3f749
commit
875f82c401
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 13 20:53:23 UTC 2022 - Lee Duncan <lduncan@suse.com>
|
||||
|
||||
- Set initiatorname in %post (at end of install), for cases
|
||||
where root is read-only at startup time (bsc#1198457)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 9 19:56:32 UTC 2022 - Lee Duncan <lduncan@suse.com>
|
||||
|
||||
|
@ -143,6 +143,9 @@ mv %{buildroot}%{_sysconfdir}/logrotate.d/iscsiuiolog %{buildroot}%{_sysconfdir}
|
||||
|
||||
%post
|
||||
%{?regenerate_initrd_post}
|
||||
if [ ! -f %{_sysconfdir}/iscsi/initiatorname.iscsi ] ; then
|
||||
%{_sbindir}/iscsi-gen-initiatorname
|
||||
fi
|
||||
%service_add_post iscsi.service iscsid.service iscsid.socket
|
||||
|
||||
%posttrans
|
||||
|
Loading…
Reference in New Issue
Block a user