Kickstart to support both cdrom and PXE installations

Tim Rashed <[email protected]> Fri, 7 Sep 2018 11:35:08 -0400
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============8429855953218048117==
Content-Type: multipart/alternative;
	boundary="------------2AF602F3CCD2AD7A31273693"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------2AF602F3CCD2AD7A31273693
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Hello,

We are trying to build a generic kickstart config file to support both 
cdrom and PXE installations.

My plan of attack is to attempt mounting the /dev/sr0 onto a temporary 
directory and look for "no medium found" error message, and based on 
that either use the *url *or *cdrom *option.

If there is a better way of doing it, I would love to hear it.

Thanks,
Tim Rashed


--------------2AF602F3CCD2AD7A31273693
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>We are trying to build a generic kickstart config file to support
      both cdrom and PXE installations.</p>
    <p>My plan of attack is to attempt mounting the /dev/sr0 onto a
      temporary directory and look for "no medium found" error message,
      and based on that either use the <b>url </b>or <b>cdrom </b>option.</p>
    <p>If there is a better way of doing it, I would love to hear it.</p>
    <p>Thanks,<br>
      Tim Rashed<br>
    </p>
  </body>
</html>

--------------2AF602F3CCD2AD7A31273693--


--===============8429855953218048117==
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
--===============8429855953218048117==--