每日一句 ( 20241222 )  

Rivers know this: there is no hurry. We shall get there some day.

河流知道這一點:無需匆忙。我們終有一日會到達。———— A. A. Milne

VirtualBox壓縮vmdk、vagrant打包box一口氣全對

如何壓縮VirtualBox的虛擬機vmdk文件大小并使用vagrant package成功打包鏡像box文件。環(huán)境:Windows7 vagrant1.9.5 VirtualBox4.3.12 虛擬機系統(tǒng)ubuntu14.04GitBash中執(zhí)行命令首先vagrant ssh登錄到虛擬機中sudo dd if=/dev/zero of=/EMPTY bs=1Msudo rm -f /EMPTY切換到VirtualBox安裝目錄,執(zhí)行: ./VBoxManage clonehd "/c/Users/zheng/VirtualBox VMs/ubuntu_default_15257002321...

win10中vagrant報錯Failed to create the host-only adapter

我的環(huán)境:Windows10? + vagrant 2.0.4 + virtualbox4.3.12當在win10中執(zhí)行vagrant up啟動虛擬機環(huán)境時報錯:Failed to create the host-only adapter==> default: Clearing any previously set network interfaces...There was an error while executing `VBoxManage`, a CLI used by Vagrantfor controlling VirtualBox. The command and stderr is shown below.Command: ["hostonlyif"...