<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello Mats,<br>
      <br>
      Actully i have tried that but I have 2 hurdels in fron of me <br>
      <br>
      1. Unable to resolve dependencies<br>
      2. I have to do many things in my Post scripts , which dont have
      RPMs , let me attach my ks.cfg for you , So what i am thinking is
      Paste that all setup files in DVD and use it at post installation
      time.<br>
      <br>
      <br>
      On Saturday 22 March 2014 02:27 PM, Mats Karlsson wrote:<br>
    </div>
    <blockquote cite="mid:532D5097.1030502@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">On 2014-03-22 09:14, Anant wrote:<br>
      </div>
      <blockquote cite="mid:532D4661.8020407@techblue.co.uk" type="cite">
        Hi Guys, <br>
        <br>
        I have made custom Centos DVD , I have copied ks.cfg in top
        directory of <br>
        my DVD. and it is working fine. <br>
        My ks.cfg looks like :<br>
        <br>
        %post --log=/root/my-post-log <br>
        <br>
        yum remove libreoffice* -y ; <br>
        /usr/bin/wget <a moz-do-not-send="true"
          class="moz-txt-link-freetext"
          href="http://210.X.X.52/LibreOffice_4.1.5_Linux_x86-64_rpm.tar.gz">http://210.X.X.52/LibreOffice_4.1.5_Linux_x86-64_rpm.tar.gz</a>
        ; <br>
        tar -xvzf LibreOffice_4.1.5_Linux_x86-64_rpm.tar.gz ; <br>
        cd LibreOffice_4.1.5.3_Linux_x86-64_rpm/RPMS/ ; <br>
        yum install *.rpm -y ; <br>
        <br>
        %end <br>
        <br>
        <br>
        I am downloading LibreOffice_4.1.5_Linux_x86-64_rpm.tar.gz from
        <br>
        210.X.X.52 , which consume bandwidth each time , So i want to
        keep this <br>
        package in side my DVD, <br>
        So i need Suggestion how can i do that , and access it on POST
        script <br>
        run time. <br>
        <br>
        Like how can i mount my dvd in any /tmp folder OR any
        suggestion.. <br>
        <br>
        I tried that also <br>
        <br>
        %post --nochroot --log=/mnt/sysimage/root/my-post-log <br>
        <br>
        #!/bin/bash <br>
        # Copying EXTRAS folder from CDROM to /root/EXTRAS <br>
        mkdir /tmp/c <br>
        mount -t iso9660 /tmp/cdrom /tmp/c <br>
        mkdir -p /mnt/sysimage/root/EXTRAS <br>
        cp -arv /tmp/c/Packages/Ex/* /mnt/sysimage/root/EXTRAS <br>
        umount /tmp/c <br>
        <br>
        %end <br>
        <br>
        But it gives me /tmp/cdrom doesnt exist . So where was cdrom
        mounted during installation <br>
        <br>
         Thanks in Advance :) <br>
      </blockquote>
      <br>
      I would suggest to you that you replace the LibreOffice RPM on the
      DVD and then rebuild the comps.xml<br>
      <br>
      Example: <a moz-do-not-send="true"
href="http://markliggett.wordpress.com/2009/11/30/custom-installation-centosrhel-dvd/">http://markliggett.wordpress.com/2009/11/30/custom-installation-centosrhel-dvd/</a><br>
      <br>
      And for your kickstart <font face="Courier New, Courier,
        monospace">%post</font> work, what does <font face="Courier
        New, Courier, monospace">/mnt/sysimage/root/my-post-log</font>
      say ?<br>
      <br>
      <br>
      /Mats<br>
      <pre class="moz-signature" cols="72">-- 

Mats Karlsson
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kickstart-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kickstart-list@redhat.com">Kickstart-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/kickstart-list">https://www.redhat.com/mailman/listinfo/kickstart-list</a></pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Anant Saraswat
System Admin (RHCVA,RHCE,RHCSA)

FOR AND ON BEHALF OF:
Techblue Software Pvt. Ltd.
73, Sector-5
IMT Manesar
Haryana

E: <a class="moz-txt-link-abbreviated" href="mailto:anant.saraswat@techblue.co.uk">anant.saraswat@techblue.co.uk</a>
W: <a class="moz-txt-link-abbreviated" href="http://www.techblue.co.uk">www.techblue.co.uk</a>


The contents of this email are confidential and may be privileged, and are intended only for the use of the person or company named herein. Any views or opinions presented are solely those of the author and do not necessarily represent those of Technology Blueprint Limited.
If you are not the intended recipient of this email or a person responsible for delivering it to the intended recipient, you are hereby notified that any distribution, copying or dissemination of the information herein is strictly prohibited.
</pre>
  </body>
</html>