Add VirtualBox instructions and task to create a VMDK
This commit is contained in:
1 parent
777820d471
commit
6f94bc3ddd
2 files changed
+31
-1
No files matched your search
@@ -147,6 +147,14 @@ task "run", desc: "Run HOS in QEMU" do
|
||||
end
|
||||
end
|
||||
|
||||
# See README.md for how to set up VirtualBox for HOS.
|
||||
task "mk-vmdk", desc: "Create VirtualBox VMDK virtual drive for HOS" do
|
||||
vmdk = hello_env.expand("^/HOS.vmdk")
|
||||
rm vmdk
|
||||
sh %W[VBoxManage internalcommands createrawvmdk -filename #{vmdk} -rawdisk #{File.expand_path(hello_env.expand("^/HOS.img"))}]
|
||||
end
|
||||
|
||||
# See README.md for how to set up VirtualBox for HOS.
|
||||
task "run-vb", desc: "Run HOS in VirtualBox" do
|
||||
sh %W[VBoxManage startvm HOS]
|
||||
end
|
||||
Reference in new issue
Block a user