Livid
383.56D
532.71D
V2EX  ›  Vagrant

关于 vagrant 错误显示 not created 的问题

  •  
  •   Livid ·
    PRO
    · Aug 31, 2013 · 3622 views
    This topic created in 4725 days ago, the information mentioned may be changed or developed.
    https://github.com/mitchellh/vagrant/issues/1755

    有的时候,VM 是存在的,但是在 vagrant status 里显示 not created。这个可能是因为 id 文件(手工编辑过)的末尾有一个 newline。

    修复方法:

    1. VBoxManage list vms 得到有问题的 VM 的 UUID
    2. echo -n UUID > .vagrant/machines/default/virtualbox/id

    然后再看 vagrant status,问题修复。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1836 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 00:01 · PVG 08:01 · LAX 17:01 · JFK 20:01
    ♥ Do have faith in what you're doing.