Diff
Not logged in

Differences From Artifact [863e5d9a15]:

To Artifact [6ec55019ca]:


508
509
510
511
512
513
514

515


516
517
518
519
520
521
522
    # If installation media is specified vws start for new vm
    if parsed_args.install:
        start_opts=Namespace(machine=parsed_args.machine,
                            command='start', cdrom=[parsed_args.install],
                            dir=machinedir, stopped=True, snapshot=False,
                            args="", gui=True 
                           )

        cmd_start(start_opts)






#
# Utility functions for arg parsing
#







>
|
>
>







508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
    # If installation media is specified vws start for new vm
    if parsed_args.install:
        start_opts=Namespace(machine=parsed_args.machine,
                            command='start', cdrom=[parsed_args.install],
                            dir=machinedir, stopped=True, snapshot=False,
                            args="", gui=True 
                           )
        try:                   
            cmd_start(start_opts)
        finally:
            start_opts.sock.shutdown(socket.SHUT_RDWR)




#
# Utility functions for arg parsing
#