Milestone 12 ‐ HyperV ‐ Linked Clones and Automation - lpcyber1/SYS350 GitHub Wiki
Parent Disk
Downloaded iso from class web server, created VM and ran the base VM sealer script from Devin's github
Found the VHD of my base VM and set the read only permissions
Child Disk
Created a new hard disk for sonofubuntu to use with the following options
Went on to create sonofubuntu VM and attached the created hard disk to it
Automation
Downloaded iso for Rocky from class web server
Created base VM for it, and ran sealer script
Deliverables
Deliverable 1. Hunt down the VHD file associated with your Ubuntu Base Image and give that file read only permissions. Provide a screenshot similar to the one below.
Deliverable 2. Provide a screenshot similar to the one below that shows ‘sonofubuntu’ running as well as the very tiny difference disk attributes similar to the screenshot below.
Deliverable 3. stop sonofubuntu
Deliverable 4. take a checkpoint of sonofubuntu called snapshot1
Deliverable 5. start sonofubuntu
Deliverable 6. switch sonofubuntu to another network
Deliverable 7. Create a new Base VM using an OS that is not Ubuntu. Research & write a script to automate the creation of a Linked Clone of your new OS base image using Powershell. Provide a screenshot of your successful script/command(s) and a screenshot of your running OS and the virtual properties of your child disk.
I would say that I like vCenter the most for sure, but Pyvmomi I am not a huge fan of. I liked Powershell the most with how straight forward all of the commands were with the HyperV module. Scripting the creating of a linked clone was also way easier to do. The only part about it that is troubling is creating the differencing disk that the VM will use.