VirtualBox

Ignore:
Timestamp:
Jul 31, 2017 9:51:48 PM (7 years ago)
Author:
vboxsync
Message:

VBoxManage install: Change --session-type default to 'none'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp

    r68194 r68213  
    13781378    ComPtr<IMachine>    ptrMachine;
    13791379    bool                fDryRun = false;
    1380     const char         *pszSessionType = "headless";
     1380    const char         *pszSessionType = "none";
    13811381
    13821382    /*
     
    14131413        // start vm related options:
    14141414        { "--session-type",                     'S', RTGETOPT_REQ_STRING },
     1415        /** @todo Add a --wait option too for waiting for the VM to shut down or
     1416         *        something like that...? */
    14151417    };
    14161418
     
    16921694    if (   fDryRun
    16931695        || RTStrICmp(pszSessionType, "none") == 0)
     1696    {
     1697        if (!fDryRun)
     1698            RTMsgInfo("VM '%ls' (%ls) is ready to be started (e.g. VBoxManage startvm).\n", bstrMachineName.raw(), bstrUuid.raw());
    16941699        hrc = S_OK;
     1700    }
    16951701    else
    16961702    {
     
    17111717        if (SUCCEEDED(hrc) && !ptrProgress.isNull())
    17121718        {
    1713             RTMsgInfo("Waiting for VM \"%s\" to power on...\n", Utf8Str(bstrUuid).c_str());
     1719            RTMsgInfo("Waiting for VM '%ls' to power on...\n", bstrMachineName.raw());
    17141720            CHECK_ERROR2(hrc, ptrProgress, WaitForCompletion(-1));
    17151721            if (SUCCEEDED(hrc))
     
    17261732                    {
    17271733                        if (SUCCEEDED(iRc))
    1728                             RTMsgInfo("VM \"%s\" has been successfully started.\n", Utf8Str(bstrUuid).c_str());
     1734                            RTMsgInfo("VM '%ls' (%ls) has been successfully started.\n", bstrMachineName.raw(), bstrUuid.raw());
    17291735                        else
    17301736                        {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette