Explorar o código

:new: 新增了创建硬盘镜像的脚本

fslongjin %!s(int64=3) %!d(string=hai) anos
pai
achega
2c8f3a6424
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      tools/create_hdd_image.sh

+ 4 - 0
tools/create_hdd_image.sh

@@ -0,0 +1,4 @@
+echo "Creating virtual disk image..."
+qemu-img create -f qcow2 disk.img 16M
+mkfs.vfat disk.img
+echo "Successfully created disk image, please move it to folder ../bin/"