Livid
378.63D
534.95D
V2EX  ›  Vagrant

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

  •  
  •   Livid ·
    PRO
    · Aug 31, 2013 · 3587 views
    This topic created in 4704 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   ·   2892 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: d3e9c8b8 · 35ms · UTC 01:55 · PVG 09:55 · LAX 18:55 · JFK 21:55
    ♥ Do have faith in what you're doing.