/var/lib/cobbler/kickstarts/sample_autoyast.xml is in cobbler-common 2.4.1-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | <?xml version="1.0"?>
<!--
Copyright (c) 2011 Novell
Uwe Gansert ug@suse.de
This software is licensed to you under the GNU General Public License,
version 2 (GPLv2). There is NO WARRANTY for this software, express or
implied, including the implied warranties of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2
along with this software; if not, see
http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
-->
<!DOCTYPE profile>
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
<deploy_image>
<image_installation config:type="boolean">false</image_installation>
</deploy_image>
## without the next 6 lines autoyast will ask for confirmation bevore installation
<general>
<mode>
<confirm config:type="boolean">false</confirm>
<final_reboot config:type="boolean">true</final_reboot>
</mode>
</general>
$SNIPPET('hosts.xml')
$SNIPPET('kdump.xml')
<keyboard>
<keymap>english</keymap>
</keyboard>
<language>
<language>en_US</language>
<languages></languages>
</language>
<login_settings/>
$SNIPPET('networking.xml')
<runlevel>
<default>3</default>
</runlevel>
<users config:type="list">
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>root</fullname>
<gid>0</gid>
<home>/root</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>0</uid>
<user_password>$default_password_crypted</user_password>
<username>root</username>
</user>
</users>
<scripts>
## we have to include the pre-scripts tag to get kickstart_start included
<pre-scripts config:type="list">
## SuSE has an annoying habit on ppc64 of changing the system
## boot order after installation. This makes it non-trivial to
## automatically re-install future OS. If you want to workaround
## this, un-comment out the following two lines and the two
## lines in the post-scripts section:
#set global $wrappedscript = 'save_boot_device'
## $SNIPPET('suse_scriptwrapper.xml')
</pre-scripts>
<post-scripts config:type="list">
## This plugin wrapper provides the flexibility to call pure shell
## snippets which can be used directly on kickstart and with with
## wrapper on SuSE.
##
## To use it
## - exchange name_of_pure_shell_snippet with the name of this shell snippet
## - and remove the '##' in front of the line with suse_scriptwrapper.xml
##
#set global $wrappedscript = 'name_of_pure_shell_snippet'
## $SNIPPET('suse_scriptwrapper.xml')
## SuSE has an annoying habit on ppc64 of changing the system
## boot order after installation. This makes it non-trivial to
## automatically re-install future OS. If you want to workaround
## this, un-comment out the following two lines and the two
## lines in the pre-scripts section:
#set global $wrappedscript = 'restore_boot_device'
## $SNIPPET('suse_scriptwrapper.xml')
</post-scripts>
</scripts>
</profile>
|