Skip to content

samdoran/beef

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beef

The Beefcake macOS Virtualization lifecycle manager

This project uses vfkit.

About

beef adds some syntactic sugar on top of managing the lifecycle of VMs running through vfkit such as:

  1. run, start, stop, rm, status, ls, get and set commands
  2. cloning and extending source raw image files
  3. state saving for re-launching an existing VM by name
  4. abstraction of complex arguments required for configuring VMs
  5. abstraction of running Linux and macOS VMs

Example use

Linux

$ curl -LO https://download.fedoraproject.org/pub/fedora/linux/releases/42/Cloud/aarch64/images/Fedora-Cloud-Base-AmazonEC2-42-1.1.aarch64.raw.xz
$ unxz -T0 Fedora-Cloud-Base-AmazonEC2-42-1.1.aarch64.raw.xz
$ beef run fedora42 Fedora-Cloud-Base-AmazonEC2-42-1.1.aarch64.raw
{
    "canHardStop": true,
    "canPause": true,
    "canResume": false,
    "canStart": false,
    "canStop": true,
    "state": "VirtualMachineStateRunning",
    "ipAddress": "192.168.64.56",
    "pid": 96456
}

macOS

This example assumes that you have a VM.bundle. This can be created using https://github.com/Code-Hex/vz/tree/main/example/macOS.

Note: macOS requires running with --gui

$ beef run --gui macos VM.bundle

About

The Beefcake macOS Virtualization lifecycle manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%