Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 625806 Details for
Bug 865679
[RFE] Ability to use distro default fstype even if ondisk= is used
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
A patch to implement fstype= kickstart metadata
use-appropriate-fstype-2.patch (text/plain), 2.26 KB, created by
Jun'ichi NOMURA
on 2012-10-12 06:14:00 UTC
(
hide
)
Description:
A patch to implement fstype= kickstart metadata
Filename:
MIME Type:
Creator:
Jun'ichi NOMURA
Created:
2012-10-12 06:14:00 UTC
Size:
2.26 KB
patch
obsolete
>--- /usr/lib/python2.6/site-packages/bkr/server/snippets/rhts_partitions 2012-08-03 11:24:33.000000000 -0400 >+++ /etc/beaker/snippets/rhts_partitions 2012-09-28 02:02:49.000000000 -0400 >@@ -18,17 +18,20 @@ part /boot/efi --fstype vfat --size 200 > {%- if ondisk %} --ondisk={{ ondisk }}{% endif %} > {% elif distro_tree is arch('ppc', 'ppc64') %} > part None --fstype 'PPC PReP Boot' --size 8 >-part /boot --fstype ext3 --size 200 --recommended >+part /boot --size 200 --recommended >+{%- if fstype %} --fstype {{ fstype }}{% endif %} > {%- if ondisk %} --ondisk={{ ondisk }}{% endif %} > {% else %} >-part /boot --fstype ext3 --size 200 --recommended >+part /boot --size 200 --recommended >+{%- if fstype %} --fstype {{ fstype }}{% endif %} > {%- if ondisk %} --ondisk={{ ondisk }}{% endif %} > {% endif %} > > {# > ## Basic root Filesystem plus Swap > #} >-part / --fstype ext3 --size 1024 --grow --asprimary >+part / --size 1024 --grow --asprimary >+{%- if fstype %} --fstype {{ fstype }}{% endif %} > {%- if ondisk %} --ondisk={{ ondisk }}{% endif %} > > part swap --recommended --asprimary >@@ -46,21 +49,28 @@ part swap --recommended --asprimary > {% set partition = _partition|split(':') %} > {% if partition|length >= 3 %} > {% set size = partition[2]|int * 1024 %} >-{% if partition|length > 3 %} >-{% set fstype = partition[3] %} >+{% if fstype %} >+{% set myfstype = fstype %} > {% else %} >-{% set fstype = 'ext3' %} >+{% set myfstype = %} >+{% endif %} >+{% if partition|length > 3 %} >+{% set myfstype = partition[3] %} > {% endif %} > {% set partname = partition[0].lstrip('/') %} > {% if partition[1] == 'part' %} >-part /{{ partname }} --fstype {{ fstype }} --size={{ size }} >+part /{{ partname }} --size={{ size }} >+{%- if myfstype %} --fstype {{ myfstype }}{% endif %} >+ > {% elif partition[1] == 'lvm' %} > {% set is_lvm = is_lvm + 1 %} > {% set lvmname = partname.replace('/', '_') %} > {% set part_size = size + 5 %} > part pv.00{{ is_lvm }} --size={{ part_size }} > volgroup TestVolume00{{ is_lvm }} pv.00{{ is_lvm }} >-logvol /{{ partname }} --fstype {{ fstype }} --name={{ lvmname }} --vgname=TestVolume00{{ is_lvm }} --size={{ size }} >+logvol /{{ partname }} --name={{ lvmname }} --vgname=TestVolume00{{ is_lvm }} --size={{ size }} >+{%- if myfstype %} --fstype {{ myfstype }}{% endif %} >+ > {% endif %} > {% endif %} > {% endfor %}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 865679
: 625806