We are trying to install SuSE 15 silently by providing autoYast file. We have included some custom script in it and we want to be executed at the initiation time or at the first boot.
We are fetching some script under post-scripts tag in configure section, and later trying to execute them in init-scripts section.
Shell files are created and copied at the /var/adm/autoinstall/script location but are never executed later on.
According to documentation init-script should be called at the first boot time and after all services are running. but surprisingly the scripts doesn’t execute anytime.
we even tried to create simple script of creating a directory. Although the script get copied at temp location but it doesn’t executes as per docs.
Could you please suggest why the system behaving in such a manner. or what can we do something differently to overcome this situation.
PFA autoyast for reference.
Your help will be much appreciated.
[HTML]<?xml version="1.0" encoding="UTF-8"?>
<dhcp_hostname config:type=“boolean”>false</dhcp_hostname>
<dhcp_resolv config:type=“boolean”>true</dhcp_resolv>
??HOST_NAME??
localdomain
dhcp
??NET_DEVICE??
onboot
true
root
<user_password>??ROOT_PASSWORD??</user_password>
true
Africa/Abidjan
english-us
en_US
false
true
<interactive_boot config:type=“boolean”>false</interactive_boot>
true
AUTODETECT
true
ext2
/
<partition_id config:type=“integer”>131</partition_id>
rw,acl,user_xattr
15000mb
swap
swap
<partition_id config:type=“integer”>130</partition_id>
200mb
free
true
false
10
true
false
10
true
false
10
SLES
enhanced_base
<install_recommended config:type=“boolean”>true</install_recommended>
iproute2
wget
wicked-service
insserv-compat
systemd
systemd-sysvinit
coreutils
openssh
vim
[/HTML]