- VMware vSphere 5.1 Cookbook
- Abhilash GB
- 195字
- 2021-08-13 16:56:31
Choosing an ESXi Image to deploy
The Offline Bundle presented to the Auto Deploy server, using the Add-ESXSoftwareDepot
command, may contain more than one image of ESXi. We need to identify the required image and select it for use.
How to do it…
The following steps will help you list all the available Image Profiles and assign them to different variables:
- Display all the images currently detected by the Auto Deploy server by issuing the following command:
Get-EsxImageProfile
- The Image Profile list generated by the
Get-ESXImageProfle
command can be assigned to a VMware PowerCLI array variable by issuing the following command:$imageprofile=Get-EsxImageProfile
- The array variable
imageprofile
now holds an array of ESXi Image Profile elements. Each of the elements in the array can be individually addressed using the array element number starting with zero(0).The following command will display array elements 0 and 1:
$imageprofile[0].name $imageprofile[1].name
From the output of the preceding command, we now know the names of the images available. Here they are:
- ESXi-5.1.0-799733-no-tools
- ESXi-5.1.0-799733-standard
How it works…
The variable created can hold array of image names. The VMware Auto Deploy PowerCLI cmdlets can use these variables to perform version operations.
推薦閱讀
- Implementing Cisco UCS Solutions
- Linux操作系統(tǒng)基礎(chǔ)
- 高性能Linux服務(wù)器構(gòu)建實(shí)戰(zhàn):運(yùn)維監(jiān)控、性能調(diào)優(yōu)與集群應(yīng)用
- VMware NSX Cookbook
- 計(jì)算機(jī)系統(tǒng)的自主設(shè)計(jì)
- INSTANT Galleria Howto
- Kali Linux高級(jí)滲透測(cè)試(原書(shū)第3版)
- 嵌入式微系統(tǒng)
- Office 365 User Guide
- Getting Started with UDK
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)(Windows 7+Office 2010)
- 大規(guī)模Linux集群架構(gòu)最佳實(shí)踐:如何管理上千臺(tái)服務(wù)器
- Implementing Cloud Design Patterns for AWS(Second Edition)
- Mastering AWS CloudFormation
- Azure Serverless Computing Cookbook