[sle-beta] Problems getting autoyast2 working on SLES 15 GMC

Scott Garman scott.garman at puppet.com
Tue Jun 19 19:06:54 MDT 2018


Hi there,

I first posted this on the Suse Support Forum and was referred to this 
mailing list.

I'm trying to get an autoyast setup working with SLES 15 GMC. I've 
generated an autoinst.xml from a manual install of the OS, but I cannot 
seem to use it to perform an automated install. The automated install 
begins, but during the "Configure software selections" step, I get the 
error:

These packages cannot be found in the software repositories:
autoyast2: The package is not available
autoyast2-installation: The package is not available

This then prevents the auto-installer from proceeding to stage2 where I 
need a few additional packages installed (kernel-devel, gcc, make, etc).

I've tried this by also enabling my SLES 15 beta registration code in 
the autoinst.xml file, but with the same results. I've included a 
sanitized autoinst.xml file below (without the suse_register section). 
Please let me know what I'm doing incorrectly.

Thanks,

Scott

----

<?xml version="1.0"?>
<!DOCTYPE profile>
<profile xmlns="http://www.suse.com/1.0/yast2ns" 
xmlns:config="http://www.suse.com/1.0/configns">
   <bootloader>
     <global>
       <append>splash=silent quiet showopts</append>
       <gfxmode>auto</gfxmode>
       <hiddenmenu>false</hiddenmenu>
       <os_prober>false</os_prober>
       <terminal>gfxterm</terminal>
       <timeout config:type="integer">8</timeout>
       <trusted_grub>false</trusted_grub>
       <xen_kernel_append>vga=gfx-1024x768x16</xen_kernel_append>
     </global>
     <loader_type>grub2</loader_type>
   </bootloader>
   <deploy_image>
     <image_installation config:type="boolean">false</image_installation>
   </deploy_image>
   <firewall>
     <enable_firewall config:type="boolean">false</enable_firewall>
     <start_firewall config:type="boolean">false</start_firewall>
   </firewall>
   <general>
     <ask-list config:type="list"/>
     <mode>
       <confirm config:type="boolean">false</confirm>
     </mode>
     <mouse>
       <id>none</id>
     </mouse>
     <proposals config:type="list"/>
     <signature-handling>
       <accept_file_without_checksum 
config:type="boolean">true</accept_file_without_checksum>
       <accept_non_trusted_gpg_key 
config:type="boolean">true</accept_non_trusted_gpg_key>
       <accept_unknown_gpg_key 
config:type="boolean">true</accept_unknown_gpg_key>
       <accept_unsigned_file 
config:type="boolean">true</accept_unsigned_file>
       <accept_verification_failed 
config:type="boolean">false</accept_verification_failed>
       <import_gpg_key config:type="boolean">true</import_gpg_key>
     </signature-handling>
     <storage>
       <start_multipath config:type="boolean">false</start_multipath>
     </storage>
   </general>
   <keyboard>
     <keymap>english-us</keymap>
   </keyboard>
   <language>
     <language>en_US</language>
     <languages/>
   </language>
  <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>delivery.puppetlabs.net</domain>
       <hostname>sles-15-x86_64</hostname>
       <resolv_conf_policy>auto</resolv_conf_policy>
       <searchlist config:type="list">
         <search>delivery.puppetlabs.net</search>
       </searchlist>
       <write_hostname config:type="boolean">true</write_hostname>
     </dns>
     <interfaces config:type="list">
       <interface>
         <bootproto>dhcp</bootproto>
         <device>eth0</device>
         <dhclient_set_default_route>yes</dhclient_set_default_route>
         <startmode>auto</startmode>
         <zone>public</zone>
       </interface>
     </interfaces>
     <ipv6 config:type="boolean">true</ipv6>
     <keep_install_network config:type="boolean">true</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>
     </routing>
   </networking>
   <partitioning config:type="list">
     <drive>
       <device>/dev/sda</device>
       <disklabel>gpt</disklabel>
       <enable_snapshots config:type="boolean">false</enable_snapshots>
       <partitions config:type="list">
         <partition>
           <create config:type="boolean">true</create>
           <filesystem config:type="symbol">swap</filesystem>
           <format config:type="boolean">true</format>
           <mount>swap</mount>
           <mountby config:type="symbol">uuid</mountby>
           <partition_id config:type="integer">130</partition_id>
           <partition_nr config:type="integer">1</partition_nr>
           <partition_type>primary</partition_type>
           <resize config:type="boolean">false</resize>
           <size>1610612736</size>
         </partition>
         <partition>
           <create config:type="boolean">true</create>
           <filesystem config:type="symbol">ext4</filesystem>
           <format config:type="boolean">true</format>
           <fstopt>acl,user_xattr</fstopt>
           <mount>/</mount>
           <mountby config:type="symbol">uuid</mountby>
           <partition_id config:type="integer">131</partition_id>
           <partition_nr config:type="integer">2</partition_nr>
           <partition_type>primary</partition_type>
           <resize config:type="boolean">false</resize>
           <size>19863158272</size>
         </partition>
       </partitions>
       <type config:type="symbol">CT_DISK</type>
       <use>all</use>
     </drive>
   </partitioning>
   <report>
     <errors>
       <log config:type="boolean">true</log>
       <show config:type="boolean">true</show>
       <timeout config:type="integer">0</timeout>
     </errors>
     <messages>
       <log config:type="boolean">true</log>
       <show config:type="boolean">true</show>
       <timeout config:type="integer">0</timeout>
     </messages>
     <warnings>
       <log config:type="boolean">true</log>
       <show config:type="boolean">true</show>
       <timeout config:type="integer">0</timeout>
     </warnings>
     <yesno_messages>
       <log config:type="boolean">true</log>
       <show config:type="boolean">true</show>
       <timeout config:type="integer">0</timeout>
     </yesno_messages>
   </report>
   <services-manager>
     <default_target>graphical</default_target>
     <services>
       <disable config:type="list"/>
       <enable config:type="list">
         <service>sshd</service>
       </enable>
     </services>
   </services-manager>
   <software>
     <install_recommended config:type="boolean">true</install_recommended>
     <packages config:type="list">
       <package>curl</package>
       <package>openssh</package>
       <package>kernel-devel</package>
       <package>sudo</package>
       <package>gcc</package>
       <package>wget</package>
       <package>perl</package>
       <package>make</package>
       <package>vim</package>
     </packages>
     <patterns config:type="list">
       <pattern>base</pattern>
       <pattern>minimal_base</pattern>
     </patterns>
     <products config:type="list">
       <product>SLES</product>
     </products>
   </software>
   <timezone>
     <hwclock>UTC</hwclock>
     <timezone>Europe/London</timezone>
   </timezone>
   <users config:type="list">
     <user>
       <encrypted config:type="boolean">true</encrypted>
       <fullname>root</fullname>
       <gid>0</gid>
       <home>/root</home>
       <password_settings>
         <expire/>
         <flag/>
         <inact/>
         <max/>
         <min/>
         <warn/>
       </password_settings>
       <shell>/bin/bash</shell>
       <uid>0</uid>
       <user_password>sanitized_password_hash</user_password>
       <username>root</username>
     </user>
   </users>
</profile>


More information about the sle-beta mailing list