Skip to content

Commit

Permalink
Merge pull request #355 from appuio/vshphere-folder
Browse files Browse the repository at this point in the history
Folder with infraID is created automatically by the installer
  • Loading branch information
haasad authored Oct 9, 2024
2 parents 506a257 + 66a965d commit ff33d9e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion docs/modules/ROOT/pages/how-tos/vsphere/install.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export VSPHERE_CLUSTER=<cluster name>
export VSPHERE_DATACENTER=<datacenter name>
export VSPHERE_DATASTORE=<datastore name>
export VSPHERE_NETWORK=<network name>
export VSPHERE_FOLDER=<folder name>
----

.Cluster machine network
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ platform:
networks:
- ${VSPHERE_NETWORK}
resourcePool: "/${VSPHERE_DATACENTER}/host/${VSPHERE_CLUSTER}//Resources"
folder: "/${VSPHERE_DATACENTER}/vm/${VSPHERE_FOLDER}"
folder: "" <3>
ingressVIPs:
- ${INGRESS_VIP}
vcenters:
Expand All @@ -75,3 +75,4 @@ EOF
Otherwise, the installation will most likely fail.
<2> We only provision a single compute machine set.
The final machine sets will be configured through Project Syn.
<3> The installer will by default create a top-level folder with the vsphere infraID, but you can optionally choose an existing folder (https://docs.openshift.com/container-platform/4.15/installing/installing_vsphere/installation-config-parameters-vsphere.html#installation-configuration-parameters-additional-vsphere_installation-config-parameters-vsphere[docs]).
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ yq eval -i ".parameters.openshift.vsphere.datastore = \"${VSPHERE_DATASTORE}\""
yq eval -i ".parameters.openshift.vsphere.server = \"${VCENTER_HOSTNAME}\"" \
${CLUSTER_ID}.yml

yq eval -i ".parameters.openshift.vsphere.folder = \"${VSPHERE_FOLDER}\"" \
yq eval -i ".parameters.openshift.vsphere.folder = .parameters.openshift.infraID" \
${CLUSTER_ID}.yml
----

0 comments on commit ff33d9e

Please sign in to comment.