-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
80 lines (51 loc) · 1.84 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
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 install
SUPPORT 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-CBSD
AnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/Rex-Virtualization-CBSD
CPAN Ratings
https://cpanratings.perl.org/d/Rex-Virtualization-CBSD
Search CPAN
https://metacpan.org/release/Rex-Virtualization-CBSD
Repository
https://github.com/VVelox/Rex-Virtualization-CBSD
LICENSE 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)