Re: RFC: Disk specification by classes/tags

Gordon Messmer <[email protected]> Tue, 6 Sep 2016 15:02:20 -0700
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============3766411293063756322==
Content-Type: multipart/alternative;
	boundary="------------1F2EAE66D273DCB873FD0E2C"

This is a multi-part message in MIME format.
--------------1F2EAE66D273DCB873FD0E2C
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

On 08/30/2016 01:36 PM, C. Petro wrote:
> What would be*really*  cool is a couple of built in tags (@local,
> @remote, etc.) but also a way to define NEW tags on the fly--for
> example having a PRE script that creates an MD device then tags that
> as @fred


You can already name individual MD devices:

%pre
mdadm --create /dev/md/boot --run --level=1 --raid-devices=2 
--metadata=1.0 /dev/sda2 /dev/sdb2
%end
...
raid /boot --device=boot --useexisting --fstype=ext4



--------------1F2EAE66D273DCB873FD0E2C
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 08/30/2016 01:36 PM, C. Petro wrote:<br>
    </div>
    <blockquote
cite="mid:CADTo4y8-sRDueXDHRUeaCRjAyydMSaYmiSsB5DccyZp_nZUBSg@mail.gmail.com"
      type="cite">
      <pre wrap="">What would be <b class="moz-txt-star"><span class="moz-txt-tag">*</span>really<span class="moz-txt-tag">*</span></b> cool is a couple of built in tags (@local,
@remote, etc.) but also a way to define NEW tags on the fly--for
example having a PRE script that creates an MD device then tags that
as @fred</pre>
    </blockquote>
    <p><br>
    </p>
    <p>You can already name individual MD devices:<br>
    </p>
    <p>%pre<br>
      mdadm --create /dev/md/boot --run --level=1 --raid-devices=2
      --metadata=1.0 /dev/sda2 /dev/sdb2<br>
      %end<br>
      ...<br>
      raid /boot --device=boot --useexisting --fstype=ext4<br>
    </p>
    <p><br>
    </p>
  </body>
</html>

--------------1F2EAE66D273DCB873FD0E2C--


--===============3766411293063756322==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Kickstart-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/kickstart-list
--===============3766411293063756322==--