Installing RangeControl
Git Repository
This is pretty straight forward as it is a public git repo. On your management system,
mkdir ~/Documents/Github
cd ~/Documents/Github
git clone https://github.com/gmcyber/RangeControl
vscode profile configuration
Find the directory for modules. Example
/home/rangeuser/Documents/Github/RangeControl/src/Modules
open up $profile using pwsh from vscode
code $profile
$env:PSModulePath = $env:PSModulePath + ":/home/rangeuser/Documents/Github/RangeControl/src/Modules"
close and restart vscode so that the module path is updated
Adding vCenter Roles
We want to only give users exactly the permissions they need to interact with their virtual machines. There are 3 current roles
range-student
A good deal of control over their assigned individual VMs with limitations on increasing resources
range-instructor
Slightly more control over the VMs in their class
eth-hack
Only gives the user the ability to revert to target ready and start the VM.
These roles can be found here
The following note shows how to export (if needed) and import roles
when you are done, you should have added the range-student and range-instructor roles. The eth-hack role is not necessary for default range-control functionality and may be covered later.