Autoyast init-script files fail to download
Aleksandar Vesic <[email protected]> Tue, 12 Jul 2016 14:26:41 +0000 (UTC)
| Newsgroups | gmane.linux.suse.autoinstall |
|---|---|
| Message-ID | <[email protected]> |
Hello guys,
I tried to install SLES12SP1 but my init-script get ignored
and no file gets created at /var/adm/autoinstall/scripts. Same autoyast
profile worked for SLES 11 SP4. My post-scripts works fine.
An autoyast control file for SLES 12 SP1 with the following init-scripts
section fails:
<init-scripts config:type="list">
<script>
<filename>init12.sh</filename>
<interpreter>shell</interpreter>
<location>nfs://IP_ADDR/var/lib/autoinstall/repository/scripts
/init12.sh</location>
</script>
Same with:
<location><![CDATA[
nfs://IP_ADDR/var/lib/autoinstall/repository/scripts/init12.sh
]]></location>
After installation, this script has been executed only if I use
following section:
<source><![CDATA[
#!/bin/sh
#The entire content of the init12.sh
]]>
</source>
</script>
</init-scripts>
</scripts>
I looked into /usr/share/YaST2/clients/autoinst_scripts2_finish.rb
and found this:
# Creating init scripts for the autoyast-initscripts.service
AutoinstScripts.Write("init-scripts", false)
# systemd requires the init script to be activated in 1st stage
Can someone help me? Did I miss something?
Best Regards
Alex
----------------------
[email protected]
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]