[sles-beta] Installation with SMT

Jiri Srain jsrain at suse.cz
Thu Jun 26 00:23:51 MDT 2014


On 06/24/2014 04:36 PM, Datacenter/DFS wrote:
> Hello again,
>
> thank you Jiri.
>
>>> we had installed the new SMT (beta) on a SLES11 SP3. We configured SMT to
>> mirror SLES12 pool+updates.
>>>
>>> Now we are about to install a fresh SLES12 beta8 and want to register it to the
>> SMT _before_ installation (that's a new sles12 feature).
>
> we moved on to beta9 but the issue is the same.

With Beta9, you cannot register against SMT at all (yet). I'm preparing 
another update of SMT as well as a DUD for Beta9, which will allow that. 
The reason is an update of the registration protocol.

>>> Therefore the Registration Page in Yast provides the ability to configure network
>> (ip, dns, gateway) right at the beginning of the installation process (Button upper
>> right "Network Configuration").
>>>
>>> The Registration Page further asks for "Email" and "Registration Code".
>>> When proceeding with or without entering any Email/RegCode the system seems
>> to try to contact nu.novell.com (though I did not confirm this) - popup "Contacting
>> Registration Server". After a timeout I get an error since our systems do not have
>> internet access - popup "Error Registration Failed".
>>>
>>> Following Questions:
>>> How can one enter a local SMT server?
>>
>> Just put the registratioan URL, like
>> regurl=http://<hostname>/connect
>> to the AutoYaST profile to the registration section, see
>>
>> https://github.com/yast/yast-registration/blob/master/src/autoyast-
>> rnc/registration.rnc#L22
>
> Sorry, that Link does not help. I'm not a YaST developer :-)

You should be able to access that URL - it is public accessible.

> Where exactly do I put the regurl=... line? On the boot prompt or in the xml file (see also last question below)?

You should add the regurl=... to the kernel command-lien at boot.

> I think for a *manual* installation the YaST "Registration Page" shall have the ability to enter a local SMT.

We are aware of this request and according to bzilla, it should be 
possible from RC1 (not reviewed the real status yet, though)

> As I saw with Wireshark Yast tries to find a local SMT by sending SLP requests. But in our environment (as well as in many others) this fails due no multicast routing.
>
>
>>> How would one configure a proxy to contact either local SMT or nu.novell.com?
>>
>> Don't understand this question...
>
> With the ability to configure network at the beginning of the (manual) installation there should also be the ability to configure a proxy server for http requests (to the internet (e.g. nu.novell.com) or the SMT - whatever is desired).
>
> Simon Flood pointed out that the proxy can be configured either on boot prompt or per autoyast.xml but it should also to be done by the interactive YaST installation, otherwise the "Network Configuration" button on the register page makes only half sense - consider this a feature request ;-)
>
> I am going to test if the proxy settings from autoyast.xml are configured before registering.
>
>
>>> How is the network PRE-configured with autoyast.xml?
>>
>> You can put the network configuration to the AutoYaST profile, via the
>> <networking> section.
>
> This does not seem to work (perhaps a bug?). The items in the <networking/> section are ignored in YaST's early stage.
>
> The network settings also do not work after the installation is finished but that's another story.
> The problem seems to be that systemd does not start wicked by default.
> I do not know whether wicked and system are also used in YaST's early stage.
>
>
> This is my autoyast.xml <networking/> extract:
>
> <networking>
> <dhcp_options>
> <dhclient_client_id/><dhclient_hostname_option>AUTO</dhclient_hostname_option>
> </dhcp_options>
> <dns>
> <dhcp_hostname config:type="boolean">false</dhcp_hostname>
> <domain>ddddddddd</domain>
> <!-- hostname wird ggf durch ask ersetzt -->
> <hostname>vm11</hostname>
> <nameservers config:type="list"><nameserver>10.247.64.11</nameserver><nameserver>10.247.160.1</nameserver></nameservers>
> <resolv_conf_policy>auto</resolv_conf_policy>
> <searchlist config:type="list"><search>ddddddddd</search></searchlist>
> </dns>
> <interfaces config:type="list">
> <interface>
> <bootproto>static</bootproto>
> <device>eth0</device>
> <!-- ipaddr wird ggf durch ask ersetzt -->
> <ipaddr>10.247.74.41</ipaddr>
> <netmask>255.255.255.0</netmask>
> <startmode>auto</startmode>
> </interface>
> [...loopback...]
> </interfaces>
> <ipv6 config:type="boolean">true</ipv6>
> <keep_install_network config:type="boolean">false</keep_install_network>
> <managed config:type="boolean">false</managed>
> <routing>
> <ipv4_forward config:type="boolean">false</ipv4_forward>
> <ipv6_forward config:type="boolean">false</ipv6_forward>
> <routes config:type="list">
> <route>
> <destination>default</destination><device>-</device>
> <!-- gateway wird ggf durch ask ersetzt -->
> <gateway>10.247.127.254</gateway>
> <netmask>-</netmask>
> </route>
> </routes>
> </routing>
> </networking>
>
>
>>> How is the SMT registration configured with autoyast.xml?
>>
>> See above.
>
> Could you provide an example autoyast.xml extract? Thank you very much.

I don't have any available, Ladislav, could you, please, help and 
provide a registration snippet for AutoYaST?

Thanks,
   Jiri

>
> Regards,
> Ronny
>
>
>
>
> DFS Deutsche Flugsicherung GmbH
> Am DFS-Campus
> D - 63225 Langen
>
> Tel.: +49-(0)6103-707-0
>
> Sitz der Gesellschaft: Langen/Hessen
> Zuständiges Registergericht: AG Offenbach am Main, HRB 34977
> Vorsitzender des Aufsichtsrates: Michael Odenwald
> Geschäftsführer: Prof. Klaus-Dieter Scheurle (Vors.), Robert Schickling, Dr. Michael Hann
>
> Internet: http://www.dfs.de
> Public-Key der DFS: http://www.dfs.de/dfs/public_key.asc <http://www.dfs.de/dfs/public_key.asc>
>


-- 
Regards,

Jiri Srain
Project Manager
---------------------------------------------------------------------
SUSE LINUX, s.r.o.                            e-mail: jsrain at suse.com
Lihovarska 1060/12                            tel: +420 284 084 659
190 00 Praha 9                                fax: +420 284 084 001
Czech Republic                                http://www.suse.com


More information about the sles-beta mailing list