AW: [opensuse-autoinstall] Autoyast init-script files fail to download
Hi, location worked form e in SLES12-GA. Bug or Feature was introduced in SLES12-SP1. Workaround: embed the desired Script in xml (CDATA). Regards Frank Hollmann -----Ursprüngliche Nachricht----- Von: Aleksandar Vesic [mailto:vesic@linux.com] Gesendet: Dienstag, 12. Juli 2016 16:27 An: opensuse-autoinstall@opensuse.org Betreff: [opensuse-autoinstall] Autoyast init-script files fail to download 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 ---------------------- vesic@linux.com -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
El miércoles, 13 de julio de 2016 9:16:59 (WEST) Frank.Hollmann@lfst.bayern.de escribió:
Hi,
Hi,
location worked form e in SLES12-GA. Bug or Feature was introduced in SLES12-SP1. Workaround: embed the desired Script in xml (CDATA).
You're right. Unfortunately, it's a known bug introduced in SLE 12 SP1[1]. You can: * embed the desired script as you suggested (easiest solution), * create a driver update disk (DUD) including the latest autoyast2- installation package. Probably I would go for the first option (the second one could be tricky). Regards, Imo [1] https://bugzilla.suse.com/show_bug.cgi?id=961320 -- Imobach González Sosa Twitter: @imobachgs -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Hi,
location worked form e in SLES12-GA. Bug or Feature was introduced in SLES12-SP1. Workaround: embed the desired Script in xml (CDATA).
After installation, this script has been executed only if I use following
it has already been done. I wrote: section: <source><![CDATA[ #!/bin/sh #The entire content of the init12.sh]]></source> </script> </init-scripts> </scripts>
You're right. Unfortunately, it's a known bug introduced in SLE 12 SP1[1].
Although paying customer, still not authorized to access bug #961320. Funny! They had one bug in the code, which IIRC prevented calling the scripts in some cases. Patiently waiting for SP2. Thanks anyway! Regards, Alex --------------------- vesic@linux.com -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
El miércoles, 13 de julio de 2016 9:16:59 (WEST) Frank.Hollmann@lfst.bayern.de escribió:
Hi,
Hi,
location worked form e in SLES12-GA. Bug or Feature was introduced in SLES12-SP1. Workaround: embed the desired Script in xml (CDATA).
You're right. Unfortunately, it's a known bug introduced in SLE 12 SP1[1]. You can: * embed the desired script as you suggested (easiest solution), * create a driver update disk (DUD) including the latest autoyast2- installation package. Probably I would go for the first option (the second one could be tricky). Regards, Imo [1] https://bugzilla.suse.com/show_bug.cgi?id=961320 -- Imobach González Sosa Twitter: @imobachgs
participants (4)
-
Aleksandar Vesic
-
Frank.Hollmann@lfst.bayern.de
-
Imobach González Sosa
-
Imobach González Sosa