IT3110 @ utahtech
I have started a script for you that you will have to modify. The script will create a vm for you on the vm farm. Your script could be run from wherever you choose. If you choose to run it on desdemona, you won’t have to ssh. Here is the script.
The script should be run like ./make_machine_student.sh <machine name>
.
In the end, the script should ask the user for the requisite values to create a new vm. You should prompt the user for:
citv getip <course>
will show you what ips and vlans they have checked out for the course.)If they don’t provide a valid option above, you should continue to prompt them until it is valid. If everything seems valid, create the machine.
You MUST utilize the following functions:
usage
function that shows the user how to appropriately use the script. This should be called if the user omits the command line argument.Pass off in class. This should create a new vm for you when called.