Use VMWare's Image Builder to create a custom ESXi image.
- [Teacher] Once I have all of the software downloaded, my next step is to use Image Builder to create a custom image that will support all of the hardware on the BRIX. The first thing I need to do is install Power CLI. Power CLI is a snap-in for Windows PowerShell that gives me commands that I can use with VMware. Notice this message that comes up. I'd have to change the execution policy for PowerShell to RemoteSigned. We'll do that after the installation.
Just go through and use the standard settings. Once I have PowerShell installed, I should have two new icons on my desktop. One is the 32-bit version and one is the 64-bit version. So the first thing that I need to do is launch Power CLI as administrator and set the execution policy to RemoteSigned.
Then I can close it and start it again as a normal user. Now we notice it loading the Power CLI modules. We don't want to participate in the Customer Experience Program, so we type L for leave, and now we have a shell. The first thing that we need to do is connect to the EsxSoftwareDepots. There's two that we'll need to connect to. So add-EsxSoftware. And you can use Tab completion to do a lot of commands.
So when you see it suddenly capitalize everything, that's because I hit Tab. And then we want to connect to VMware first. And this command will take a while to complete. Next, we want to connect to the VFront Software Depot for the custom vibs. Once again, this command will take a little bit to complete. Now I can view which image profiles are available using Get-EsxImageProfile, and I just want the ones for 6.5.
They can specify the name was a wildcard. And this will show me the two 6.5 images that are available from VMware. I have a standard version and one with no-tools. And I want to use the standard one. So what I want to do is make a clone of that so that I can make edits to it. I want to do New-EsxImageProfile, clone an existing profile, ESXi-6.5.0-4564106-standard.
That's the one that I want to clone, and I want to give it a new name. I recommend putting in the full name here. You'll appreciate that later when trying to figure out which image is which. And I will call it BRIX because that's what I'm building it for. And then I have to specify who the vendor is, and that's me. And the AcceptanceLevel. The AcceptanceLevel determines what types of vibs can be put in here.
Notice the AcceptanceLevel of the two that are already there are PartnerSupported, but as we're adding in CommunitySupported vibs, I need to change that to CommunitySupported. I now have a new image profile and I can add additional software packages into it. EsxSoftwarePackage, specify my image profile, and the package that I want to install.
Now to see what packages I need to install for the BRIX, I can use virten.net. So I found their page for the ESXi 6.0 Image. I'm doing 6.5, but the same drivers will work. And I scroll down here and it shows me what packages I need to install. There's two that need to be installed: one for the SATA driver and one for the network card. So Net55...
These software packages are coming from the VFront Depot that I added. And then I can just arrow up so I don't have to type all of that again, then add sata-xahci. Now that I have the additional packages added, I need to create an ISO image that I can then copy over to a USB stick. We want to Export, specify the profile, and I want to ExportToISO...
and then specify where I want to put it, and give it a name. Because it has to download all of the packages across the internet, this command can take a significant amount of time. Once Image Builder is finished, we should have a completed disk image. The next step is to use Rufus to copy that over to our USB. So I've already inserted my USB; it's showing up as my E: drive here.
Most of the information here, I want to leave the same. I can give it a better volume name. And then I want to specify that I want to create from an ISO image, select my BRIX image, click on OK, then hit Start. It'll ask if I want to upgrade the menu.c32, and I do, so I just hit Yes. It's going to give us a warning, it's going to erase everything on the drive, double-check, make sure you're using the correct drive, and then hit OK.
Once it's finished copying everything from the ISO over to the USB and making it available, you can click on Close, and now we're ready to do the bare metal install onto the BRIX.
- Virtual machine benefits
- Building a lab environment with a mini PC
- Working with ESXi and vCenter Server
- Installing a control center VM
- Using the HTML5 client and the web client
- Adding an ESXi host and use Remote Console
- Configuring vSAN and storage profiles
- Adding NFS datastore
- Deploying a virtual machine from OVA
- Performing a cloning operation
- Using templates
- Performing a vMotion migration
- Working with snapshots