vagrant - vagrant 的更改需要删除 VirtualBox 中的已保存状态
问题描述
我Vagrant 2.2.2
在 MacBook Pro 上运行VirtualBox
,版本为 6.0.4 r128413。大约 2 个月前,Mac 更新级联需要更新这些。
当我输入vagrant status
时,它显示“已保存”。如果我运行vagrant up
以下结果:
My-MBP:vbox4 oliverwilliams$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Resuming suspended VM...
==> default: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "894fe7ac-8c87-4c18-8afa-4b24b6268f19", "--type", "headless"]
Stderr: VBoxManage: error: Failed to load unit 'lsilogicscsi' (VERR_SSM_LOADED_TOO_LITTLE)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
我可以“放弃已保存的状态”,然后这样做vagrant up
,它可以工作,但这很痛苦。我打开了 VirtualBox UI,转到机器 > 设置,然后在存储下(在我放弃保存状态之后但不是之前),我看到 Controller:SCSI - 没有选项可以更改为 SATA:AHCI,因为这篇文章表明:https://www .virtualbox.org/ticket/18263。
我该如何解决这个问题,以便可以存储保存的状态而不必丢弃它?
解决方案
推荐阅读
- javascript - 我试图使用嵌入制作帮助命令
- android - android用户scroe栏自定义
- sql - 将所有表列转换为二进制字符串
- amazon-web-services - 用于 aws-chime-sdk 的 amazon api gateway API 给出内部服务器错误作为响应
- javascript - 在 Javascript 中显示来自对象的数据
- r - 如何基于以字符串编写的相似但不准确的时间变量合并两个数据集。使用 R?
- bash - (bash 脚本)有没有办法获得写入文件失败尝试的实际 errno?
- loops - 每个循环目标动态选择器上的 SCSS 不会产生结果
- html - Blazor 键盘导航到 ADA 网站
- emacs - 如何从终端退出 Emacs?