Rex::V...n::VBox(3pm)
π Rex::V...n::VBox β the manual, but make it cute π
okay bestie, so this is Rex::Virtualization::VBox, a page from the User Contributed Perl Documentation set. It's the VirtualBox module and it is, no cap, about to be your new fave. π
β¨ NAME β¨
Rex::Virtualization::VBox β the VirtualBox Virtualization Module π¦
πΈ DESCRIPTION πΈ
With this module you can manage VirtualBox. That's it, that's the whole vibe β it's giving "I hold the aux cord to your hypervisor." π
π SYNOPSIS π
Here's the tea, literally just copy this energy, it's all verbatim:
use Rex::Commands::Virtualization;
set virtualization => "VBox";
use Data::Dumper;
print Dumper vm list => "all";
print Dumper vm list => "running";
vm destroy => "vm01";
vm delete => "vm01";
vm start => "vm01";
vm shutdown => "vm01";
vm reboot => "vm01";
vm option => "vm01",
memory => 512;
print Dumper vm info => "vm01";
# creating a vm
vm create => "vm01",
storage => [
{
file => "/mnt/data/vbox/vm01.img",
size => "10G",
},
{
file => "/mnt/iso/debian6.iso",
}
],
memory => 512,
type => "Linux26",
cpus => 1,
boot => "dvd";
vm forward_port => "vm01", add => { http => [8080, 80] };
vm forward_port => "vm01", remove => "http";
print Dumper vm guestinfo => "vm01";
vm share_folder => "vm01", add => { sharename => "/path/to/share" };
vm share_folder => "vm01", remove => "sharename";
π«Ά heads up bestie: for VirtualBox, memory declaration is always in megabyte. Always. Don't come at me with gigabytes, the module does not care. π
π SEE ALSO
(okay so the original page didn't actually hand us a SEE ALSO section β so there's nothing to link here, and I'm not gonna invent one, periodt. π)
that's the whole page, and yes, it ate. π This was Rex::V...n::VBox(3pm), written up under perl v5.40.1, dated 2025-10-03 β go forth and manage those VMs, main character. π§βπ₯
π¦ where this page comes from
- ubuntu resolute: rex 1.16.1-1 Β· Apache-2.0
- ubuntu stonking: rex 1.16.1-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms