You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+86-5Lines changed: 86 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ VMware's PowerCLI with PowerShell Core and Python for ImageBuilder Support in Li
9
9
10
10
## About
11
11
12
-
This container is based on Ubuntu 20.04, contains the `mkisofs`package (for repacking ISO images) and has the following software installed, per the [Compatibility Matrixes for VMware PowerCLI 13.1.0](https://vdc-repo.vmware.com/vmwb-repository/dcr-public/f479301e-3164-47bc-9584-89b84a1bf5ce/c4ea2d2f-bf6d-4c18-bb20-6c4782ac6576/powercli1310-compat-matrix.html) and [Compatibility Matrixes for VMware PowerCLI 13.0.0](https://developer.vmware.com/docs/17472//powercli1300-compat-matrix.html#install-prereq):
12
+
This container is based on Ubuntu 20.04, contains both `xorriso` and `mkisofs`packages (for repacking ISO images) and has the following software installed, per the [Compatibility Matrixes for VMware PowerCLI 13.1.0](https://vdc-repo.vmware.com/vmwb-repository/dcr-public/f479301e-3164-47bc-9584-89b84a1bf5ce/c4ea2d2f-bf6d-4c18-bb20-6c4782ac6576/powercli1310-compat-matrix.html) and [Compatibility Matrixes for VMware PowerCLI 13.0.0](https://developer.vmware.com/docs/17472//powercli1300-compat-matrix.html#install-prereq):
13
13
14
14
- .NET Core 3.1 (which is now [End of Support](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core))
15
15
- PowerShell Core 7.2 LTS (Automated)
@@ -19,7 +19,7 @@ This container is based on Ubuntu 20.04, contains the `mkisofs` package (for rep
19
19
**NOTE**:
20
20
21
21
- Python is configured per requirements outlined in [Install and Configure Python on Linux](https://developer.vmware.com/docs/15315/powercli-user-s-guide/GUID-101A5D2A-6BEB-43B0-8328-3B2F9F80C628.html)
22
-
- For `ARM64` (aka Apple Silicone) users, there is a bug in PowerCLI 13.1.0 with ImageBuilder and it will not run so, `ARM64` images contain PowerCLI 13.0.0. Actively racking this issue down with VMware for resolution.
22
+
- For `ARM64` (aka Apple Silicone) users, there is a bug in PowerCLI 13.1.0 with ImageBuilder and it will not run so, `ARM64` images contain PowerCLI 13.0.0. VMware states its due to one of their modules not being compiled for ARM and have provided no ETA on when they'll fix it. Until then, I am keeping PowerCLI 13.0.0 for ARM64 images.
23
23
24
24
## How to Use
25
25
@@ -37,13 +37,13 @@ For most use cases where the intent is to only use PowerCLI (without Image Build
37
37
docker run -it jmcombs/vmware-powercli
38
38
```
39
39
40
-
If the intent is to use PowerCLI with Image Builder, a volume will need to be mapped:
40
+
If the intent is to use PowerCLI with Image Builder and use `xorriso` to repackage modified Images, a volume will need to be mapped:
41
41
42
42
```shell
43
43
docker run -it --volume=/your/local/filesystem/files:/home/coder/files jmcombs/vmware-powercli
44
44
```
45
45
46
-
If the intent is to use PowerCLI with Image Builder and use `mkisofs` to repackage modified Images, a volume will need to be mapped and it is required to run the container in Privileged Mode
46
+
If the intent is to use PowerCLI with Image Builder and use `mkisofs` to repackage modified Images, a volume will need to be mapped `mkisofs` requires the container to be ran in Privileged Mode
47
47
48
48
```shell
49
49
docker run -it --privileged --volume=/your/local/filesystem/files:/home/coder/files jmcombs/vmware-powercli
- Copying ESXi ISO image to a temporary location (for modification) & Repackaging using `xorriso`
270
+
271
+
#### **NOTE:** The example below:
272
+
273
+
- Is using an ESXi `7.0U3g` ISO image created with Image Builder which includes [Community Networking Driver for ESXi](https://flings.vmware.com/community-networking-driver-for-esxi) and [Synology NFS Plug-in for VMware VAAI](https://kb.synology.com/en-us/DSM/tutorial/How_do_I_install_Synology_NFS_VAAI_Plug_in_on_an_ESXi_host) VIBs
274
+
- Image Builder ISO file is named `VMware-VMvisor-Installer-7.0U3g-20328353.x86_64.nuc12-syn.iso`
275
+
- Repackaged ISO file is named `custom_esxi.iso`
276
+
- Location of files is in `/home/coder/files`
277
+
278
+
#### **Assumptions:**
279
+
280
+
- It is assumed the user knows how to modify an ESXi Image (adding Kickstart scripts, modifying `boot.cfg`, creating Boot Menus, etc.) and, as such, are not demonstrated below
0 commit comments