[Libosinfo] [PATCH] script, rhel: Specify boot partition size for < 7

Christophe Fergeau cfergeau at redhat.com
Wed Feb 11 14:34:35 UTC 2015


On Wed, Feb 11, 2015 at 01:50:08PM +0000, Zeeshan Ali (Khattak) wrote:
> Seems even RHEL 6.6 Anaconda can't handle the --recommended option of
> part command so lets not use that unless its RHEL >= 7.
> ---
>  data/install-scripts/rhel.xml | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/data/install-scripts/rhel.xml b/data/install-scripts/rhel.xml
> index efe91e5..f22e6c6 100644
> --- a/data/install-scripts/rhel.xml
> +++ b/data/install-scripts/rhel.xml
> @@ -72,7 +72,15 @@ zerombr
>  
>  clearpart --all --drives=<xsl:call-template name="target-disk"/>
>  
> +
> +<xsl:choose>
> +  <xsl:when test="os/version < 7">
> +part /boot --fstype ext4 --size=500 --ondisk=<xsl:call-template name="target-disk"/>

500MB might be a bit small for /boot (I think I have a machine with
500MB /boot which is starting to get full)

ACK with 500 or with something bigger

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20150211/2e2a2582/attachment.sig>


More information about the Libosinfo mailing list