|
| 1 | + <?xml version="1.0"?> |
| 2 | + <!DOCTYPE profile> |
| 3 | + <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> |
| 4 | + <deploy_image> |
| 5 | + <image_installation config:type="boolean">false</image_installation> |
| 6 | + </deploy_image> |
| 7 | + ## without the next 6 lines autoyast will ask for confirmation bevore installation |
| 8 | + <general> |
| 9 | + <mode> |
| 10 | + <confirm config:type="boolean">false</confirm> |
| 11 | + <final_reboot config:type="boolean">true</final_reboot> |
| 12 | + </mode> |
| 13 | + </general> |
| 14 | + $SNIPPET('addons.xml') |
| 15 | + $SNIPPET('hosts.xml') |
| 16 | + <ntp-client> |
| 17 | + <ntp_policy>auto</ntp_policy> |
| 18 | + <ntp_servers config:type="list"> |
| 19 | + <ntp_server> |
| 20 | + <address>us.pool.ntp.org</address> |
| 21 | + <iburst config:type="boolean">false</iburst> |
| 22 | + <offline config:type="boolean">false</offline> |
| 23 | + </ntp_server> |
| 24 | + <ntp_server> |
| 25 | + <address>2.opensuse.pool.ntp.org</address> |
| 26 | + <iburst config:type="boolean">false</iburst> |
| 27 | + <offline config:type="boolean">false</offline> |
| 28 | + </ntp_server> |
| 29 | + </ntp_servers> |
| 30 | + <ntp_sync>15</ntp_sync> |
| 31 | + </ntp-client> |
| 32 | + $SNIPPET('kdump.xml') |
| 33 | + <keyboard> |
| 34 | + <keymap>us</keymap> |
| 35 | + </keyboard> |
| 36 | + <language> |
| 37 | + <language>en_US</language> |
| 38 | + <languages></languages> |
| 39 | + </language> |
| 40 | + <timezone> |
| 41 | + <hwclock>UTC</hwclock> |
| 42 | + <timezone>EST5EDT</timezone> |
| 43 | + </timezone> |
| 44 | + <software> |
| 45 | + <packages config:type="list"> |
| 46 | + <package>chrony</package> |
| 47 | + <package>sudo</package> |
| 48 | + <package>openssh</package> |
| 49 | + </packages> |
| 50 | + </software> |
| 51 | + <services-manager> |
| 52 | + <services> |
| 53 | + <enable config:type="list"> |
| 54 | + <service>sshd</service> |
| 55 | + </enable> |
| 56 | + </services> |
| 57 | + </services-manager> |
| 58 | + <login_settings/> |
| 59 | + $SNIPPET('suse-15.4-networking.xml') |
| 60 | + <users config:type="list"> |
| 61 | + <user> |
| 62 | + <encrypted config:type="boolean">true</encrypted> |
| 63 | + <fullname>root</fullname> |
| 64 | + <gid>0</gid> |
| 65 | + <home>/root</home> |
| 66 | + <password_settings> |
| 67 | + <expire></expire> |
| 68 | + <flag></flag> |
| 69 | + <inact></inact> |
| 70 | + <max></max> |
| 71 | + <min></min> |
| 72 | + <warn></warn> |
| 73 | + </password_settings> |
| 74 | + <shell>/bin/bash</shell> |
| 75 | + <uid>0</uid> |
| 76 | + <user_password>$default_password_crypted</user_password> |
| 77 | + <username>root</username> |
| 78 | + </user> |
| 79 | + <user> |
| 80 | + <encrypted config:type="boolean">true</encrypted> |
| 81 | + <username>suse</username> |
| 82 | + <user_password>$default_password_crypted</user_password> |
| 83 | + </user> |
| 84 | + </users> |
| 85 | + <scripts> |
| 86 | + ## we have to include the pre-scripts tag to get autoinstall_start included |
| 87 | + <pre-scripts config:type="list"> |
| 88 | + #set global $wrappedscript = 'autoinstall_start' |
| 89 | + $SNIPPET('suse-15.4_scriptwrapper.xml') |
| 90 | + ## SuSE has an annoying habit on ppc64 of changing the system |
| 91 | + ## boot order after installation. This makes it non-trivial to |
| 92 | + ## automatically re-install future OS. |
| 93 | + #set global $wrappedscript = 'save_boot_device' |
| 94 | + $SNIPPET('suse-15.4_scriptwrapper.xml') |
| 95 | + </pre-scripts> |
| 96 | + <post-scripts config:type="list"> |
| 97 | + ## |
| 98 | + ## This plugin wrapper provides the flexibility to call pure shell |
| 99 | + ## snippets which can be used directly on autoinst file and with |
| 100 | + ## wrapper on SuSE. |
| 101 | + ## |
| 102 | + ## To use it |
| 103 | + ## - exchange name_of_pure_shell_snippet with the name of this shell snippet |
| 104 | + ## - and remove the '##' in front of the line with suse-15.4_scriptwrapper.xml |
| 105 | + ## |
| 106 | + #set global $wrappedscript = 'name_of_pure_shell_snippet' |
| 107 | + ## $SNIPPET('suse-15.4_scriptwrapper.xml') |
| 108 | + |
| 109 | + ## SuSE has an annoying habit on ppc64 of changing the system |
| 110 | + ## boot order after installation. This makes it non-trivial to |
| 111 | + ## automatically re-install future OS. |
| 112 | + #set global $wrappedscript = 'restore_boot_device' |
| 113 | + $SNIPPET('suse-15.4_scriptwrapper.xml') |
| 114 | + </post-scripts> |
| 115 | + ## we have to include the init-scripts tag to get autoinstall_done included |
| 116 | + <init-scripts config:type="list"> |
| 117 | + #set global $wrappedscript = 'autoinstall_done' |
| 118 | + $SNIPPET('suse-15.4_scriptwrapper.xml') |
| 119 | + </init-scripts> |
| 120 | + </scripts> |
| 121 | + </profile> |
0 commit comments