Libvirt `--location` for $OperatingSystem

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











up vote
1
down vote

favorite












I'm trying to install a virtual machine (libvirt + qemu kvm) and I would like to fetch the operating system from network. I'm using the --location option.



While I know that CentOS can be started with --location http://mirror.centos.org/centos/7/os/x86_64/, I'd like to know what URL I should use, for example, to start a Debian. Some hints are provided in the manpages, but are not always correct.



To generalize, I would like to know what the --location option is actually searching in the given URL, so that I can spawn any distribution. The manual mentions a location containing an installable distribution image, but it does not define what an installable distribution image is.



Any hint? Is this some distribution-dependent bit?







share|improve this question

























    up vote
    1
    down vote

    favorite












    I'm trying to install a virtual machine (libvirt + qemu kvm) and I would like to fetch the operating system from network. I'm using the --location option.



    While I know that CentOS can be started with --location http://mirror.centos.org/centos/7/os/x86_64/, I'd like to know what URL I should use, for example, to start a Debian. Some hints are provided in the manpages, but are not always correct.



    To generalize, I would like to know what the --location option is actually searching in the given URL, so that I can spawn any distribution. The manual mentions a location containing an installable distribution image, but it does not define what an installable distribution image is.



    Any hint? Is this some distribution-dependent bit?







    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I'm trying to install a virtual machine (libvirt + qemu kvm) and I would like to fetch the operating system from network. I'm using the --location option.



      While I know that CentOS can be started with --location http://mirror.centos.org/centos/7/os/x86_64/, I'd like to know what URL I should use, for example, to start a Debian. Some hints are provided in the manpages, but are not always correct.



      To generalize, I would like to know what the --location option is actually searching in the given URL, so that I can spawn any distribution. The manual mentions a location containing an installable distribution image, but it does not define what an installable distribution image is.



      Any hint? Is this some distribution-dependent bit?







      share|improve this question













      I'm trying to install a virtual machine (libvirt + qemu kvm) and I would like to fetch the operating system from network. I'm using the --location option.



      While I know that CentOS can be started with --location http://mirror.centos.org/centos/7/os/x86_64/, I'd like to know what URL I should use, for example, to start a Debian. Some hints are provided in the manpages, but are not always correct.



      To generalize, I would like to know what the --location option is actually searching in the given URL, so that I can spawn any distribution. The manual mentions a location containing an installable distribution image, but it does not define what an installable distribution image is.



      Any hint? Is this some distribution-dependent bit?









      share|improve this question












      share|improve this question




      share|improve this question








      edited Jun 22 at 0:34









      Emmanuel Rosa

      2,1801410




      2,1801410









      asked Jun 21 at 20:10









      Dacav

      278212




      278212




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          Take a look at the source code for the urldetect.py module in virt-manager source tree. The module defines how the location URLs are interpreted.



          The proper location URL for a given distro depends on the distro itself. The urldetect.py module looks at the URL and attempts to decipher what distro it refers to and figures out the rest from there.



          This means installable distribution image is a broad concept which refers to distribution-specific URLs virt-manager knows how to decipher.






          share|improve this answer





















            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%2f451188%2flibvirt-location-for-operatingsystem%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote



            accepted










            Take a look at the source code for the urldetect.py module in virt-manager source tree. The module defines how the location URLs are interpreted.



            The proper location URL for a given distro depends on the distro itself. The urldetect.py module looks at the URL and attempts to decipher what distro it refers to and figures out the rest from there.



            This means installable distribution image is a broad concept which refers to distribution-specific URLs virt-manager knows how to decipher.






            share|improve this answer

























              up vote
              2
              down vote



              accepted










              Take a look at the source code for the urldetect.py module in virt-manager source tree. The module defines how the location URLs are interpreted.



              The proper location URL for a given distro depends on the distro itself. The urldetect.py module looks at the URL and attempts to decipher what distro it refers to and figures out the rest from there.



              This means installable distribution image is a broad concept which refers to distribution-specific URLs virt-manager knows how to decipher.






              share|improve this answer























                up vote
                2
                down vote



                accepted







                up vote
                2
                down vote



                accepted






                Take a look at the source code for the urldetect.py module in virt-manager source tree. The module defines how the location URLs are interpreted.



                The proper location URL for a given distro depends on the distro itself. The urldetect.py module looks at the URL and attempts to decipher what distro it refers to and figures out the rest from there.



                This means installable distribution image is a broad concept which refers to distribution-specific URLs virt-manager knows how to decipher.






                share|improve this answer













                Take a look at the source code for the urldetect.py module in virt-manager source tree. The module defines how the location URLs are interpreted.



                The proper location URL for a given distro depends on the distro itself. The urldetect.py module looks at the URL and attempts to decipher what distro it refers to and figures out the rest from there.



                This means installable distribution image is a broad concept which refers to distribution-specific URLs virt-manager knows how to decipher.







                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered Jun 21 at 23:08









                Emmanuel Rosa

                2,1801410




                2,1801410






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451188%2flibvirt-location-for-operatingsystem%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?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?