ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Virt-manager: create vm

    IT Discussion
    virt-manager fedora28 virtual machine
    11
    39
    2.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dafyreD
      dafyre @FATeknollogee
      last edited by

      @fateknollogee said in Virt-manager: create vm:

      @dafyre said in Virt-manager: create vm:

      @fateknollogee said in Virt-manager: create vm:

      @dafyre said in Virt-manager: create vm:

      Yes, I read the OP. Make your changes, apply them, and then hit cancel installation. It does not destroy the VM. It leaves it sitting there, ready for you to boot to whatever installation media you choose.

      Not sure what version you are on, in v1.5.1, canceling the install = destroys the vm.

      Yeah, I just went back and did that myself a few minutes ago and the VM is gone... WTH did I do last time...

      Don't go to bed till you figure it out & get back to us ASAP :grinning_face_with_smiling_eyes:

      Well, I did find one way to do it... Just not seamless.

      Just go a head and tell it to begin the installation, and the Force Power Off the VM once it starts... but that makes more work for later (you have to go and set it to boot from the ISO image, and then pick your iso image again if you do it this way).

      FATeknollogeeF 1 Reply Last reply Reply Quote 1
      • FATeknollogeeF
        FATeknollogee @dafyre
        last edited by

        @dafyre said in Virt-manager: create vm:

        @fateknollogee said in Virt-manager: create vm:

        @dafyre said in Virt-manager: create vm:

        @fateknollogee said in Virt-manager: create vm:

        @dafyre said in Virt-manager: create vm:

        Yes, I read the OP. Make your changes, apply them, and then hit cancel installation. It does not destroy the VM. It leaves it sitting there, ready for you to boot to whatever installation media you choose.

        Not sure what version you are on, in v1.5.1, canceling the install = destroys the vm.

        Yeah, I just went back and did that myself a few minutes ago and the VM is gone... WTH did I do last time...

        Don't go to bed till you figure it out & get back to us ASAP :grinning_face_with_smiling_eyes:

        Well, I did find one way to do it... Just not seamless.

        Just go a head and tell it to begin the installation, and the Force Power Off the VM once it starts... but that makes more work for later (you have to go and set it to boot from the ISO image, and then pick your iso image again if you do it this way).

        Yep, that's kinda what I do right now.
        There has to be a cleaner/proper way?

        1 Reply Last reply Reply Quote 0
        • black3dynamiteB
          black3dynamite
          last edited by

          Any objections with using virt-install and virsh destroy VMName?

          I do something similar with Hyper-V.

          1 Reply Last reply Reply Quote 0
          • black3dynamiteB
            black3dynamite
            last edited by

            Using cockpit-machines, you can new VM and select the option to immediately start VM.
            0_1536300918206_image.jpg

            This is cockpit version 176.

            DustinB3403D scottalanmillerS 2 Replies Last reply Reply Quote 2
            • DustinB3403D
              DustinB3403 @black3dynamite
              last edited by

              @black3dynamite can't see that picture at all.

              black3dynamiteB 1 Reply Last reply Reply Quote 0
              • black3dynamiteB
                black3dynamite @DustinB3403
                last edited by

                @dustinb3403 said in Virt-manager: create vm:

                @black3dynamite can't see that picture at all.

                Looks fine from Safari on my iPhone.

                1 Reply Last reply Reply Quote 0
                • ObsolesceO
                  Obsolesce
                  last edited by

                  I don't get what the problem is.
                  You create the VM, then you configure it after.

                  FATeknollogeeF 1 Reply Last reply Reply Quote 0
                  • FATeknollogeeF
                    FATeknollogee @Obsolesce
                    last edited by

                    @obsolesce said in Virt-manager: create vm:

                    I don't get what the problem is.
                    You create the VM, then you configure it after.

                    Just want to create the vm without starting the install.

                    ObsolesceO 1 Reply Last reply Reply Quote 0
                    • ObsolesceO
                      Obsolesce @FATeknollogee
                      last edited by

                      @fateknollogee said in Virt-manager: create vm:

                      @obsolesce said in Virt-manager: create vm:

                      I don't get what the problem is.
                      You create the VM, then you configure it after.

                      Just want to create the vm without starting the install.

                      Are you talking about creating a VM without clicking this button:
                      0_1536335075436_e72ea706-8a1a-4d62-b870-2c6d9f856903-image.png

                      Who cares... just stop it right away and continue with configuration.

                      Or use virt-install command to set it up.

                      FATeknollogeeF 1 Reply Last reply Reply Quote 0
                      • FATeknollogeeF
                        FATeknollogee @Obsolesce
                        last edited by

                        @obsolesce said in Virt-manager: create vm:

                        Are you talking about creating a VM without clicking this button:
                        0_1536335075436_e72ea706-8a1a-4d62-b870-2c6d9f856903-image.png

                        yes

                        Who cares... just stop it right away and continue with configuration.

                        Looking for a "cleaner" method kinda like in Hyper-V

                        Or use virt-install command to set it up.

                        The title of the thread is "virt-manager" not "virt-install"!

                        1 Reply Last reply Reply Quote -1
                        • ObsolesceO
                          Obsolesce
                          last edited by

                          So what's your goal with wanting to create a VM without starting it, to create some VMs you aren't going to use?

                          You can fully configure it in that window above. I've never created a VM in virt-manager that I didn't want turned on after finished configuring.

                          FATeknollogeeF 1 Reply Last reply Reply Quote 0
                          • FATeknollogeeF
                            FATeknollogee @Obsolesce
                            last edited by

                            @obsolesce said in Virt-manager: create vm:

                            So what's your goal with wanting to create a VM without starting it, to create some VMs you aren't going to use?

                            Correct, you as a Hyper-V user know we do it all the time in Hyper-V manager.

                            You can fully configure it in that window above. I've never created a VM in virt-manager that I didn't want turned on after finished configuring.

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @black3dynamite
                              last edited by

                              @black3dynamite said in Virt-manager: create vm:

                              Using cockpit-machines, you can new VM and select the option to immediately start VM.
                              0_1536300918206_image.jpg

                              This is cockpit version 176.

                              That's what we use and we are definitely able to control if the VM starts or not on default Fedora 28.

                              JaredBuschJ 1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch @scottalanmiller
                                last edited by

                                @scottalanmiller said in Virt-manager: create vm:

                                @black3dynamite said in Virt-manager: create vm:

                                Using cockpit-machines, you can new VM and select the option to immediately start VM.
                                This is cockpit version 176.

                                That's what we use and we are definitely able to control if the VM starts or not on default Fedora 28.

                                He is not talking about the VM starting, but the installation starting after entering the config info.

                                @fateknollogee said in Virt-manager: create vm:

                                @obsolesce said in Virt-manager: create vm:

                                So what's your goal with wanting to create a VM without starting it, to create some VMs you aren't going to use?

                                Correct, you as a Hyper-V user know we do it all the time in Hyper-V manager.

                                Yes, but WTF is the point? I never configure one then decide not to install it. Especially using a GUI to do it.

                                ObsolesceO FATeknollogeeF 2 Replies Last reply Reply Quote 1
                                • ObsolesceO
                                  Obsolesce @JaredBusch
                                  last edited by

                                  @jaredbusch said in Virt-manager: create vm:

                                  @fateknollogee said in Virt-manager: create vm:

                                  @obsolesce said in Virt-manager: create vm:

                                  So what's your goal with wanting to create a VM without starting it, to create some VMs you aren't going to use?

                                  Correct, you as a Hyper-V user know we do it all the time in Hyper-V manager.

                                  Yes, but WTF is the point? I never configure one then decide not to install it. Especially using a GUI to do it.

                                  Hyper-V, KVM, whatever, I never create VMs that I don't plan on using. If I create a VM, it gets turned on 100% of the time after I install one.

                                  1 Reply Last reply Reply Quote 0
                                  • DustinB3403D
                                    DustinB3403
                                    last edited by

                                    While I can agree it seems weird to want to setup a VM and not immediately start it, this doesn't sound that far out.

                                    Set em up tonight, finish them tomorrow.

                                    ObsolesceO 1 Reply Last reply Reply Quote 0
                                    • ObsolesceO
                                      Obsolesce @DustinB3403
                                      last edited by

                                      @dustinb3403 said in Virt-manager: create vm:

                                      While I can agree it seems weird to want to setup a VM and not immediately start it, this doesn't sound that far out.

                                      Set em up tonight, finish them tomorrow.

                                      Or save yourself 30 seconds and do it all tomorrow... it doesn't take long enough to configure a damn VM to split over two days. Seriously. 30 seconds to go through the Wizard and configure any additional settings is generous.

                                      1 Reply Last reply Reply Quote 0
                                      • FATeknollogeeF
                                        FATeknollogee @JaredBusch
                                        last edited by

                                        @jaredbusch said in Virt-manager: create vm:

                                        Yes, but WTF is the point? I never configure one then decide not to install it. Especially using a GUI to do it.

                                        @obsolesce said in Virt-manager: create vm:

                                        Hyper-V, KVM, whatever, I never create VMs that I don't plan on using. If I create a VM, it gets turned on 100% of the time after I install one.

                                        The point is you don't & I do.

                                        ObsolesceO scottalanmillerS 2 Replies Last reply Reply Quote 0
                                        • ObsolesceO
                                          Obsolesce @FATeknollogee
                                          last edited by

                                          @fateknollogee said in Virt-manager: create vm:

                                          The point is you don't & I do.

                                          But you can get the same result by not creating a VM at all...

                                          1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @FATeknollogee
                                            last edited by

                                            @fateknollogee said in Virt-manager: create vm:

                                            @jaredbusch said in Virt-manager: create vm:

                                            Yes, but WTF is the point? I never configure one then decide not to install it. Especially using a GUI to do it.

                                            @obsolesce said in Virt-manager: create vm:

                                            Hyper-V, KVM, whatever, I never create VMs that I don't plan on using. If I create a VM, it gets turned on 100% of the time after I install one.

                                            The point is you don't & I do.

                                            Out of curiosity, what is the reasoning for creating an unused VM early? Stopping a VM that's been in production and holding it to fire up again I get. But making a new one, but not turning it on, I'm not thinking of the use case. Is it as capacity planning exercise where you want to reserve the capacity and have it all laid out prior to building the systems?

                                            stacksofplatesS FATeknollogeeF 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post