Setting up Installation Repository in Centos Kickstart File

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have customized centos iso and a repository beside system packages. I need to install this iso with usb media. So far I've managed to set isolinux.cfg to refer kickstart file using ks=hd:LABEL=FW:/ks/ks.cfg and repo=hd:LABEL=FW:/. Everything worked as I expected.
To install the customized packages I have set "cdrom" to harddrive --partition=disk/by-label/FW --dir=/ in the kickstart file to look for customized repository inside usb disk but it did not work.
I've been searching for a while but everyone tells how to set isolinux.cfg file not kickstart file.
I have looked kickstart documentation yet I could not find a specific example on this issue.
The best I can find is https://ask.fedoraproject.org/en/question/79845/kickstarting-from-a-usb-drive-how-to-specify-the-repo/ but I did not work either.
My repodata directory sits in the root directory of usb media.
Any help is greatly appreciated.
Thank you










share|improve this question

























    up vote
    0
    down vote

    favorite












    I have customized centos iso and a repository beside system packages. I need to install this iso with usb media. So far I've managed to set isolinux.cfg to refer kickstart file using ks=hd:LABEL=FW:/ks/ks.cfg and repo=hd:LABEL=FW:/. Everything worked as I expected.
    To install the customized packages I have set "cdrom" to harddrive --partition=disk/by-label/FW --dir=/ in the kickstart file to look for customized repository inside usb disk but it did not work.
    I've been searching for a while but everyone tells how to set isolinux.cfg file not kickstart file.
    I have looked kickstart documentation yet I could not find a specific example on this issue.
    The best I can find is https://ask.fedoraproject.org/en/question/79845/kickstarting-from-a-usb-drive-how-to-specify-the-repo/ but I did not work either.
    My repodata directory sits in the root directory of usb media.
    Any help is greatly appreciated.
    Thank you










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have customized centos iso and a repository beside system packages. I need to install this iso with usb media. So far I've managed to set isolinux.cfg to refer kickstart file using ks=hd:LABEL=FW:/ks/ks.cfg and repo=hd:LABEL=FW:/. Everything worked as I expected.
      To install the customized packages I have set "cdrom" to harddrive --partition=disk/by-label/FW --dir=/ in the kickstart file to look for customized repository inside usb disk but it did not work.
      I've been searching for a while but everyone tells how to set isolinux.cfg file not kickstart file.
      I have looked kickstart documentation yet I could not find a specific example on this issue.
      The best I can find is https://ask.fedoraproject.org/en/question/79845/kickstarting-from-a-usb-drive-how-to-specify-the-repo/ but I did not work either.
      My repodata directory sits in the root directory of usb media.
      Any help is greatly appreciated.
      Thank you










      share|improve this question













      I have customized centos iso and a repository beside system packages. I need to install this iso with usb media. So far I've managed to set isolinux.cfg to refer kickstart file using ks=hd:LABEL=FW:/ks/ks.cfg and repo=hd:LABEL=FW:/. Everything worked as I expected.
      To install the customized packages I have set "cdrom" to harddrive --partition=disk/by-label/FW --dir=/ in the kickstart file to look for customized repository inside usb disk but it did not work.
      I've been searching for a while but everyone tells how to set isolinux.cfg file not kickstart file.
      I have looked kickstart documentation yet I could not find a specific example on this issue.
      The best I can find is https://ask.fedoraproject.org/en/question/79845/kickstarting-from-a-usb-drive-how-to-specify-the-repo/ but I did not work either.
      My repodata directory sits in the root directory of usb media.
      Any help is greatly appreciated.
      Thank you







      linux centos system-installation usb-drive






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 13 at 13:41









      burak

      11




      11

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f462303%2fsetting-up-installation-repository-in-centos-kickstart-file%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f462303%2fsetting-up-installation-repository-in-centos-kickstart-file%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Christian Cage

          How to properly install USB display driver for Fresco Logic FL2000DX on Ubuntu?