Disk initialization does not work in AutoYaST
This document (3664970) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 10 SP1
Situation
<initialize config:type="boolean">true</initialize>
in AutoYaST, but this does not work anymore.
Resolution
As a workaround you can initialize the disk via a pre-install script.
If not already in your AutoYaST profile add a section
<scripts>
</scripts>
and in this section add the following
<pre-scripts config:type="list">But be aware, when you do a semi automatic installation, where the user has to accept the configuration, the disk is initialized BEFORE the user gets asked !
<script>
<filename>cleandisk.sh</filename>
<interpreter>shell</interpreter>
<source><![CDATA[
#!/bin/bash
parted -s <device>rm 1
parted -s <device>rm 2
parted -s <device>rm 3
parted -s <device>rm 4
]]></source>
</script>
</pre-scripts>
Update:
This issue is fixed, please use
ftp://ftp.suse.com/pub/people/ug/autoyast/sles10sp1_root_fix_v0.4
to create a yast2-update structure and include it to your
auto-install.
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:3664970
- Creation Date: 14-Sep-2007
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com