https://github.com/vvelox/rex-virtualization-cbsd
Rex virtualization module for CBSD + bhyve
https://github.com/vvelox/rex-virtualization-cbsd
bhyve cbsd freebsd rex
Last synced: 9 days ago
JSON representation
Rex virtualization module for CBSD + bhyve
- Host: GitHub
- URL: https://github.com/vvelox/rex-virtualization-cbsd
- Owner: VVelox
- License: artistic-2.0
- Created: 2021-10-12T16:37:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-28T11:45:32.000Z (over 3 years ago)
- Last Synced: 2025-02-17T01:42:32.931Z (3 months ago)
- Topics: bhyve, cbsd, freebsd, rex
- Language: Perl
- Homepage: https://metacpan.org/dist/Rex-Virtualization-CBSD
- Size: 112 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
Rex-Virtualization-CBSD
This provides interface to CBSD for controlling bhyve via Rex.
use Rex::Commands::Virtualization;
set virtualization => "CBSD";
vm 'create', name=>'foo',
'vm_os_type'=>'freebsd',
'vm_os_profile'=>'FreeBSD-x64-13.0',
'vm_ram'=>'1g',
'vm_cpus'=>'1',
'imgsize'=>'10g';
vm 'start' => 'foo';
# list the basic settings for the VM foo from the VM list
my %vm_list = vm 'list';
print Dumper \%{ $vm_list{foo} };
# get all the config info for the VM foo and display it
%vm_info=vm 'info' => 'foo';
foreach my $vm_info_key (@{keys(%vm_info)}){
print $vm_info_key.": ".$vm_info{$vm_info_key}."\n";
}# stop the VM foo
vm 'stop' => 'foo';
# remove the VM foo
vm 'remove' => 'foo';
# show all VM
my %vm_list = vm 'list';
print Dumper \%vm_list;INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make installSUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.perldoc Rex::Virtualization::CBSD
You can also look for information at:
RT, CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=Rex-Virtualization-CBSDAnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/Rex-Virtualization-CBSDCPAN Ratings
https://cpanratings.perl.org/d/Rex-Virtualization-CBSDSearch CPAN
https://metacpan.org/release/Rex-Virtualization-CBSDRepository
https://github.com/VVelox/Rex-Virtualization-CBSDLICENSE AND COPYRIGHT
This software is Copyright (c) 2020 by Zane C. Bowers-HAdley.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)