Project

General

Profile

Actions

Feature #1058

closed

Add Unattend Install Support for SUSE based Linux

Added by Oliver Weinmann almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host creation
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,

It would be fantastic if you could add unattended installs for SUSE based Operatingsystems like OpenSuse or SLES.

I have attached a so called autoinst.xml file of a SLES 11 SP1 install. This is very similar to the kickstart or preseed files. It is just far more lines. But the important ones are easy to identify. SUSE uses a system called autoyast for unattended installations.

Furthermore the Autoyast Default PXELinux Provision Template could look like this:

default linux
label linux
kernel <%= @kernel %>
  1. initrd are located in e.g. SLES_11.1_x86_64/CD1/boot/x86_64/loader
  2. I used SLES_11.1_x86_64 to be facter compliant ($operatinsystem_$operatinsystemrelease_$architecture)
    append initrd=<%= @initrd %> ramdisk_size=65536
  3. this is different from kickstart the install source must be in the pxelinux
  4. as mentioned before this would be: SLES_11.1_x86_64/CD1
    install=<%= @mediapath %>
  5. last the path to the autoinst.xml
    autoyast=<%= foreman_url("provision")%>

This should be enough to boot the client off PXE. The autoinst file is really huge. I added the lines:

<package> puppet </package>
<package> facter </package>

to install the puppet version that is included in sles11. In older SLES releases 9 and 10 is probably no puppet. For this we might have to introduce a new install repo from opensuse build. I can test this once we have basic SUSE unattended install working. Only the autoinst.xml needs a bit of adjustment here.

Furthermore I recommend the following links:

Partitioning autoyast:

http://www.suse.de/~ug/autoyast_doc/CreateProfile.Partitioning.html

PXE OpenSuse:

http://en.opensuse.org/SDB:PXE_boot_installation

PXE SLES Specific:

http://www.novell.com/coolsolutions/feature/17719.html

Autoyast Docs:

http://www.suse.de/~ug/


Files

autoinst.xml autoinst.xml 85 Bytes Oliver Weinmann, 07/20/2011 03:34 PM
Actions

Also available in: Atom PDF