Virtualbox Guest Additions packages?












2















As I move to look at virtualbox for the small/medium business where I've used vmware previously, I'm interested in a proper kickstart for my RHEL5/6/7 hosts.



I'm used to using proper vmware guest RPMs I can pre-bake into the (packer) images - and I hope I don't need to list the benefits! - and while I see some RPMs for the actual host machines, I don't see anything for the guests.



Am I overlooking something? I want to believe that in the larger Oracle organization, who produces VBox and OEL, that the one hand does know what the other one is doing, and they've got the right bits to support their own enterprise products; I just haven't found it yet. If someone can point me to the installation artifacts they're using in their enterprise organization - preferably something with X stripped out - I'd be ever so grateful.



Thanks!



p.s.: A dev-ops tag may be best, here, but I can't find one.










share|improve this question



























    2















    As I move to look at virtualbox for the small/medium business where I've used vmware previously, I'm interested in a proper kickstart for my RHEL5/6/7 hosts.



    I'm used to using proper vmware guest RPMs I can pre-bake into the (packer) images - and I hope I don't need to list the benefits! - and while I see some RPMs for the actual host machines, I don't see anything for the guests.



    Am I overlooking something? I want to believe that in the larger Oracle organization, who produces VBox and OEL, that the one hand does know what the other one is doing, and they've got the right bits to support their own enterprise products; I just haven't found it yet. If someone can point me to the installation artifacts they're using in their enterprise organization - preferably something with X stripped out - I'd be ever so grateful.



    Thanks!



    p.s.: A dev-ops tag may be best, here, but I can't find one.










    share|improve this question

























      2












      2








      2








      As I move to look at virtualbox for the small/medium business where I've used vmware previously, I'm interested in a proper kickstart for my RHEL5/6/7 hosts.



      I'm used to using proper vmware guest RPMs I can pre-bake into the (packer) images - and I hope I don't need to list the benefits! - and while I see some RPMs for the actual host machines, I don't see anything for the guests.



      Am I overlooking something? I want to believe that in the larger Oracle organization, who produces VBox and OEL, that the one hand does know what the other one is doing, and they've got the right bits to support their own enterprise products; I just haven't found it yet. If someone can point me to the installation artifacts they're using in their enterprise organization - preferably something with X stripped out - I'd be ever so grateful.



      Thanks!



      p.s.: A dev-ops tag may be best, here, but I can't find one.










      share|improve this question














      As I move to look at virtualbox for the small/medium business where I've used vmware previously, I'm interested in a proper kickstart for my RHEL5/6/7 hosts.



      I'm used to using proper vmware guest RPMs I can pre-bake into the (packer) images - and I hope I don't need to list the benefits! - and while I see some RPMs for the actual host machines, I don't see anything for the guests.



      Am I overlooking something? I want to believe that in the larger Oracle organization, who produces VBox and OEL, that the one hand does know what the other one is doing, and they've got the right bits to support their own enterprise products; I just haven't found it yet. If someone can point me to the installation artifacts they're using in their enterprise organization - preferably something with X stripped out - I'd be ever so grateful.



      Thanks!



      p.s.: A dev-ops tag may be best, here, but I can't find one.







      rhel virtualbox rpm






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 8 '15 at 18:35









      user2066657user2066657

      424311




      424311






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I know this question is 4 years old, but I just stumbled upon it today and realized I was in your exact situation a couple years ago.



          What we ended up doing was using a Packer definition to automate our image build process. Packer supports a guest_additions_url option. We pointed this to a local mirror with a copy of the guest additions iso. Keep in mind, however, that this just uploads the iso to a folder in the VM or inserts it into the virtual CD drive, depending on what other configuration options you've chosen. Installation is an exercise left to the user - usually a provisioning script will do the trick. We based our Packer definition on one from Chef's "Bento" repository, which uses a provisioning script to install guest additions after the iso has been copied into the VM:



          #!/bin/sh -eux

          # set a default HOME_DIR environment variable if not set
          HOME_DIR="${HOME_DIR:-/home/vagrant}";

          case "$PACKER_BUILDER_TYPE" in
          virtualbox-iso|virtualbox-ovf)
          VER="`cat $HOME_DIR/.vbox_version`";
          ISO="VBoxGuestAdditions_$VER.iso";
          mkdir -p /tmp/vbox;
          mount -o loop $HOME_DIR/$ISO /tmp/vbox;
          sh /tmp/vbox/VBoxLinuxAdditions.run
          || echo "VBoxLinuxAdditions.run exited $? and is suppressed."
          "For more read https://www.virtualbox.org/ticket/12479";
          umount /tmp/vbox;
          rm -rf /tmp/vbox;
          rm -f $HOME_DIR/*.iso;
          ;;
          esac


          There are guest additions packages available in repositories for other distros, such as Ubuntu and Arch Linux, but for some reason the closest thing I've found available for RHEL/CentOS are sketchy websites offering up guest additions rpms for ad-hoc downloads, but no actual trustworthy repositories.



          P.S. There is now a devops-specific Stack Exchange site.






          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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            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%2f248159%2fvirtualbox-guest-additions-packages%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I know this question is 4 years old, but I just stumbled upon it today and realized I was in your exact situation a couple years ago.



            What we ended up doing was using a Packer definition to automate our image build process. Packer supports a guest_additions_url option. We pointed this to a local mirror with a copy of the guest additions iso. Keep in mind, however, that this just uploads the iso to a folder in the VM or inserts it into the virtual CD drive, depending on what other configuration options you've chosen. Installation is an exercise left to the user - usually a provisioning script will do the trick. We based our Packer definition on one from Chef's "Bento" repository, which uses a provisioning script to install guest additions after the iso has been copied into the VM:



            #!/bin/sh -eux

            # set a default HOME_DIR environment variable if not set
            HOME_DIR="${HOME_DIR:-/home/vagrant}";

            case "$PACKER_BUILDER_TYPE" in
            virtualbox-iso|virtualbox-ovf)
            VER="`cat $HOME_DIR/.vbox_version`";
            ISO="VBoxGuestAdditions_$VER.iso";
            mkdir -p /tmp/vbox;
            mount -o loop $HOME_DIR/$ISO /tmp/vbox;
            sh /tmp/vbox/VBoxLinuxAdditions.run
            || echo "VBoxLinuxAdditions.run exited $? and is suppressed."
            "For more read https://www.virtualbox.org/ticket/12479";
            umount /tmp/vbox;
            rm -rf /tmp/vbox;
            rm -f $HOME_DIR/*.iso;
            ;;
            esac


            There are guest additions packages available in repositories for other distros, such as Ubuntu and Arch Linux, but for some reason the closest thing I've found available for RHEL/CentOS are sketchy websites offering up guest additions rpms for ad-hoc downloads, but no actual trustworthy repositories.



            P.S. There is now a devops-specific Stack Exchange site.






            share|improve this answer






























              0














              I know this question is 4 years old, but I just stumbled upon it today and realized I was in your exact situation a couple years ago.



              What we ended up doing was using a Packer definition to automate our image build process. Packer supports a guest_additions_url option. We pointed this to a local mirror with a copy of the guest additions iso. Keep in mind, however, that this just uploads the iso to a folder in the VM or inserts it into the virtual CD drive, depending on what other configuration options you've chosen. Installation is an exercise left to the user - usually a provisioning script will do the trick. We based our Packer definition on one from Chef's "Bento" repository, which uses a provisioning script to install guest additions after the iso has been copied into the VM:



              #!/bin/sh -eux

              # set a default HOME_DIR environment variable if not set
              HOME_DIR="${HOME_DIR:-/home/vagrant}";

              case "$PACKER_BUILDER_TYPE" in
              virtualbox-iso|virtualbox-ovf)
              VER="`cat $HOME_DIR/.vbox_version`";
              ISO="VBoxGuestAdditions_$VER.iso";
              mkdir -p /tmp/vbox;
              mount -o loop $HOME_DIR/$ISO /tmp/vbox;
              sh /tmp/vbox/VBoxLinuxAdditions.run
              || echo "VBoxLinuxAdditions.run exited $? and is suppressed."
              "For more read https://www.virtualbox.org/ticket/12479";
              umount /tmp/vbox;
              rm -rf /tmp/vbox;
              rm -f $HOME_DIR/*.iso;
              ;;
              esac


              There are guest additions packages available in repositories for other distros, such as Ubuntu and Arch Linux, but for some reason the closest thing I've found available for RHEL/CentOS are sketchy websites offering up guest additions rpms for ad-hoc downloads, but no actual trustworthy repositories.



              P.S. There is now a devops-specific Stack Exchange site.






              share|improve this answer




























                0












                0








                0







                I know this question is 4 years old, but I just stumbled upon it today and realized I was in your exact situation a couple years ago.



                What we ended up doing was using a Packer definition to automate our image build process. Packer supports a guest_additions_url option. We pointed this to a local mirror with a copy of the guest additions iso. Keep in mind, however, that this just uploads the iso to a folder in the VM or inserts it into the virtual CD drive, depending on what other configuration options you've chosen. Installation is an exercise left to the user - usually a provisioning script will do the trick. We based our Packer definition on one from Chef's "Bento" repository, which uses a provisioning script to install guest additions after the iso has been copied into the VM:



                #!/bin/sh -eux

                # set a default HOME_DIR environment variable if not set
                HOME_DIR="${HOME_DIR:-/home/vagrant}";

                case "$PACKER_BUILDER_TYPE" in
                virtualbox-iso|virtualbox-ovf)
                VER="`cat $HOME_DIR/.vbox_version`";
                ISO="VBoxGuestAdditions_$VER.iso";
                mkdir -p /tmp/vbox;
                mount -o loop $HOME_DIR/$ISO /tmp/vbox;
                sh /tmp/vbox/VBoxLinuxAdditions.run
                || echo "VBoxLinuxAdditions.run exited $? and is suppressed."
                "For more read https://www.virtualbox.org/ticket/12479";
                umount /tmp/vbox;
                rm -rf /tmp/vbox;
                rm -f $HOME_DIR/*.iso;
                ;;
                esac


                There are guest additions packages available in repositories for other distros, such as Ubuntu and Arch Linux, but for some reason the closest thing I've found available for RHEL/CentOS are sketchy websites offering up guest additions rpms for ad-hoc downloads, but no actual trustworthy repositories.



                P.S. There is now a devops-specific Stack Exchange site.






                share|improve this answer















                I know this question is 4 years old, but I just stumbled upon it today and realized I was in your exact situation a couple years ago.



                What we ended up doing was using a Packer definition to automate our image build process. Packer supports a guest_additions_url option. We pointed this to a local mirror with a copy of the guest additions iso. Keep in mind, however, that this just uploads the iso to a folder in the VM or inserts it into the virtual CD drive, depending on what other configuration options you've chosen. Installation is an exercise left to the user - usually a provisioning script will do the trick. We based our Packer definition on one from Chef's "Bento" repository, which uses a provisioning script to install guest additions after the iso has been copied into the VM:



                #!/bin/sh -eux

                # set a default HOME_DIR environment variable if not set
                HOME_DIR="${HOME_DIR:-/home/vagrant}";

                case "$PACKER_BUILDER_TYPE" in
                virtualbox-iso|virtualbox-ovf)
                VER="`cat $HOME_DIR/.vbox_version`";
                ISO="VBoxGuestAdditions_$VER.iso";
                mkdir -p /tmp/vbox;
                mount -o loop $HOME_DIR/$ISO /tmp/vbox;
                sh /tmp/vbox/VBoxLinuxAdditions.run
                || echo "VBoxLinuxAdditions.run exited $? and is suppressed."
                "For more read https://www.virtualbox.org/ticket/12479";
                umount /tmp/vbox;
                rm -rf /tmp/vbox;
                rm -f $HOME_DIR/*.iso;
                ;;
                esac


                There are guest additions packages available in repositories for other distros, such as Ubuntu and Arch Linux, but for some reason the closest thing I've found available for RHEL/CentOS are sketchy websites offering up guest additions rpms for ad-hoc downloads, but no actual trustworthy repositories.



                P.S. There is now a devops-specific Stack Exchange site.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 5 mins ago

























                answered 16 mins ago









                jayhendrenjayhendren

                5,46721444




                5,46721444






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f248159%2fvirtualbox-guest-additions-packages%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    サソリ

                    広島県道265号伴広島線

                    Setup Asymptote in Texstudio