We are preparing our sles12 template, and encounter a problem during the autoyast automated installation “registration” step.
Our setup:
VMware Virtualisation
autoint.xml autoyast installation
installationmedium is .iso
autoyast profile over a floppy mount
network setup: static ipv4, with standard gateway + proxy für http/https and ftp.
Configuration
true
<ftp_proxy>http://proxy.mydomain.com:3128/</ftp_proxy>
<http_proxy>http://proxy.mydomain.com:3128/</http_proxy>
<https_proxy>http://proxy.mydomain.com:3128/</https_proxy>
<no_proxy>localhost, 127.0.0.1</no_proxy>
<proxy_password/>
<proxy_user/>
After the completion of installation, the machine is able to do the online registration manualy through yast → online registration
I have noticed that the Bash Shell Enviroment which i accessible after the Installation abort, does have network proxy issues.
For that reason i added some proxy settings to /root/.curlrc and /etc/sysconfig/proxy.
<pre-scripts config:type="list">
<script>
<filename>pre.sh</filename>
<interpreter>shell</interpreter>
<source><![CDATA[
#!/bin/sh
touch /root/.curlrc
echo ‘–proxy “http://proxy2.mydomain.com:3128/”’ >> /root/.curlrc
echo “” > /etc/sysconfig/proxy
echo ‘PROXY_ENABLED=“yes”’ >> /etc/sysconfig/proxy
echo ‘HTTP_PROXY=“http://proxy2.mydomain.com:3128”’ >> /etc/sysconfig/proxy
echo ‘HTTPS_PROXY=“http://proxy2.mydomain.com:3128”’ >> /etc/sysconfig/proxy
echo ‘FTP_PROXY=“http://proxy2.mydomain.com:3128”’ >> /etc/sysconfig/proxy
echo ‘GOPHER_PROXY=""’ >> /etc/sysconfig/proxy
echo ‘NO_PROXY=“localhost, 127.0.0.1”’ >> /etc/sysconfig/proxy
]]>
But sadly that did not solve the connection error during registration.
linuxrc was the last straw for me, but the following settings in autoint.xml, dont work yet:
<info_file>
</info_file>
</init>
Any Ideas that could lead me the way would be very much appreciated.