-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For SLE15 we have another design for installation and consequently non of existing profiles will work as before. As simplest solution we add all packages medium dvd and add 3 addons as before. As an ultimate solution we need to provide registration details, but this is blocked by changes to the framework See [poo#23736](https://progress.opensuse.org/issues/23736) for more details.
- Loading branch information
Rodion Iafarov
committed
Nov 3, 2017
1 parent
a6b9745
commit b35259e
Showing
3 changed files
with
264 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE profile> | ||
<!-- the purpose of this autoyast file is to test the error dialog in stage 1 and 2 the errors are not fatal so the installation can continue after confirmation--> | ||
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> | ||
<add-on> | ||
<add_on_products config:type="list"> | ||
<listentry> | ||
<media_url><![CDATA[dvd:///?devices=/dev/sr0]]></media_url> | ||
<product_dir>/</product_dir> | ||
</listentry> | ||
<listentry> | ||
<media_url><![CDATA[dvd:///?devices=/dev/sr1]]></media_url> | ||
<product>sle-module-basesystem</product> | ||
<product_dir>/Basesystem</product_dir> | ||
</listentry> | ||
<listentry> | ||
<media_url><![CDATA[dvd:///?devices=/dev/sr1]]></media_url> | ||
<product>sle-module-desktop-applications</product> | ||
<product_dir>/Desktop-Applications</product_dir> | ||
</listentry> | ||
<listentry> | ||
<media_url><![CDATA[dvd:///?devices=/dev/sr1]]></media_url> | ||
<product>sle-module-server-applications</product> | ||
<product_dir>/Server-Applications</product_dir> | ||
</listentry> | ||
</add_on_products> | ||
</add-on> | ||
<report> | ||
<messages> | ||
<show config:type="boolean">true</show> | ||
<timeout config:type="integer">0</timeout> | ||
<log config:type="boolean">true</log> | ||
</messages> | ||
<errors> | ||
<show config:type="boolean">true</show> | ||
<timeout config:type="integer">0</timeout> | ||
<log config:type="boolean">true</log> | ||
</errors> | ||
<warnings> | ||
<show config:type="boolean">true</show> | ||
<timeout config:type="integer">0</timeout> | ||
<log config:type="boolean">true</log> | ||
</warnings> | ||
</report> | ||
<!-- stage 2 error - script output --> | ||
<scripts> | ||
<post-scripts config:type="list"> | ||
<script> | ||
<source><![CDATA[ echo Post-install script error dialog]]> </source> | ||
<feedback config:type="boolean">true</feedback> | ||
<feedback_type>error</feedback_type> | ||
</script> | ||
</post-scripts> | ||
</scripts> | ||
<general> | ||
<mode> | ||
<confirm config:type="boolean">false</confirm> | ||
</mode> | ||
</general> | ||
<keyboard> | ||
<keyboard_values> | ||
<delay/> | ||
<discaps config:type="boolean">false</discaps> | ||
<numlock>bios</numlock> | ||
<rate/> | ||
</keyboard_values> | ||
<keymap>english-us</keymap> | ||
</keyboard> | ||
<language> | ||
<language>en_US</language> | ||
<languages/> | ||
</language> | ||
<software> | ||
<packages config:type="list"> | ||
<!-- stage 1 error - missing package --> | ||
<package>nonexistent-package</package> | ||
<package>glibc</package> | ||
<package>grub2</package> | ||
<package>snapper</package> | ||
<package>syslinux</package> | ||
<package>kdump</package> | ||
<package>sles-release</package> | ||
<package>kexec-tools</package> | ||
</packages> | ||
<patterns config:type="list"> | ||
<pattern>apparmor</pattern> | ||
<pattern>base</pattern> | ||
<pattern>documentation</pattern> | ||
<pattern>gnome-basic</pattern> | ||
<pattern>minimal_base</pattern> | ||
<pattern>x11</pattern> | ||
</patterns> | ||
<product>SLES15</product> | ||
</software> | ||
<networking> | ||
<interfaces config:type="list"> | ||
<interface> | ||
<bootproto>dhcp</bootproto> | ||
<device>eth0</device> | ||
<dhclient_set_default_route>yes</dhclient_set_default_route> | ||
<startmode>auto</startmode> | ||
</interface> | ||
</interfaces> | ||
</networking> | ||
<timezone> | ||
<hwclock>UTC</hwclock> | ||
<timezone>Europe/Berlin</timezone> | ||
</timezone> | ||
<users config:type="list"> | ||
<user> | ||
<encrypted config:type="boolean">false</encrypted> | ||
<fullname>Bernhard M. Wiedemann</fullname> | ||
<gid>100</gid> | ||
<home>/home/bernhard</home> | ||
<password_settings> | ||
<expire/> | ||
<flag/> | ||
<inact>-1</inact> | ||
<max>99999</max> | ||
<min>0</min> | ||
<warn>7</warn> | ||
</password_settings> | ||
<shell>/bin/bash</shell> | ||
<uid>1000</uid> | ||
<user_password>nots3cr3t</user_password> | ||
<username>bernhard</username> | ||
</user> | ||
<user> | ||
<encrypted config:type="boolean">false</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>nots3cr3t</user_password> | ||
<username>root</username> | ||
</user> | ||
</users> | ||
</profile> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE profile> | ||
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> | ||
<add-on> | ||
<add_on_products config:type="list"> | ||
<listentry> | ||
<media_url><![CDATA[dvd:///?devices=/dev/sr1]]></media_url> | ||
<product>sle-module-basesystem</product> | ||
<product_dir>/Basesystem</product_dir> | ||
</listentry> | ||
<listentry> | ||
<media_url><![CDATA[dvd:///?devices=/dev/sr1]]></media_url> | ||
<product>sle-module-desktop-applications</product> | ||
<product_dir>/Desktop-Applications</product_dir> | ||
</listentry> | ||
<listentry> | ||
<media_url><![CDATA[dvd:///?devices=/dev/sr1]]></media_url> | ||
<product>sle-module-server-applications</product> | ||
<product_dir>/Server-Applications</product_dir> | ||
</listentry> | ||
</add_on_products> | ||
</add-on> | ||
<general> | ||
<mode> | ||
<confirm config:type="boolean">false</confirm> | ||
</mode> | ||
</general> | ||
<keyboard> | ||
<keyboard_values> | ||
<delay/> | ||
<discaps config:type="boolean">false</discaps> | ||
<numlock>bios</numlock> | ||
<rate/> | ||
</keyboard_values> | ||
<keymap>english-us</keymap> | ||
</keyboard> | ||
<language> | ||
<language>en_US</language> | ||
<languages/> | ||
</language> | ||
<ntp-client> | ||
<ntp_policy>auto</ntp_policy> | ||
<peers config:type="list"/> | ||
</ntp-client> | ||
<software> | ||
<packages config:type="list"> | ||
<package>grub2</package> | ||
<package>sles-release</package> | ||
</packages> | ||
<patterns config:type="list"> | ||
<pattern>apparmor</pattern> | ||
<pattern>base</pattern> | ||
<pattern>basesystem</pattern> | ||
<pattern>documentation</pattern> | ||
<pattern>gnome-basic</pattern> | ||
<pattern>minimal_base</pattern> | ||
<pattern>x11</pattern> | ||
</patterns> | ||
<product>SLES15</product> | ||
</software> | ||
<networking> | ||
<interfaces config:type="list"> | ||
<interface> | ||
<bootproto>dhcp</bootproto> | ||
<device>eth0</device> | ||
<dhclient_set_default_route>yes</dhclient_set_default_route> | ||
<startmode>auto</startmode> | ||
</interface> | ||
</interfaces> | ||
</networking> | ||
<firewall> | ||
<enable_firewall config:type="boolean">true</enable_firewall> | ||
<start_firewall config:type="boolean">true</start_firewall> | ||
</firewall> | ||
<timezone> | ||
<hwclock>UTC</hwclock> | ||
<timezone>Europe/Berlin</timezone> | ||
</timezone> | ||
<users config:type="list"> | ||
<user> | ||
<encrypted config:type="boolean">false</encrypted> | ||
<fullname>Bernhard M. Wiedemann</fullname> | ||
<gid>100</gid> | ||
<home>/home/bernhard</home> | ||
<password_settings> | ||
<expire/> | ||
<flag/> | ||
<inact>-1</inact> | ||
<max>99999</max> | ||
<min>0</min> | ||
<warn>7</warn> | ||
</password_settings> | ||
<shell>/bin/bash</shell> | ||
<uid>1000</uid> | ||
<user_password>nots3cr3t</user_password> | ||
<username>bernhard</username> | ||
</user> | ||
<user> | ||
<encrypted config:type="boolean">false</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>nots3cr3t</user_password> | ||
<username>root</username> | ||
</user> | ||
</users> | ||
</profile> |