Course Home | Syllabus | Schedule | Readings | Downloads | Submissions | [print]

IT 3110: Systems Automation

Shell Scripting 2

Assignment

This assignment will hone your skills as a Bash shell programmer.

Tasks

Create the following script:

A script called deploy_vm.sh. This script will be run on your DHCP server machine. You should be able to provide a name and ip of your vm to this script and the script will automatically insert appropriate fixed dhcp entries. Example usage:

    ./deploy_vm.sh logger 144.38.222.111 

Your script would at some point need to ssh to vm.cs.dixie.edu and create a new vm using the citv clonevm command.

Then you should be able to parse the mac address from the citv showvm commandto use in your dhcp file. You need to add a fixed entry for this new vm.

THen your script should boot the vm citv bootvm ???? c

Report

Take a print screen of your scripts running. Also upload your scripts.

Submission

Last Updated 02/10/2021