Skip to content

Commit bbe7ef0

Browse files
authored
Enhance the instructions for PowerVS image build with DHCP support (#1865)
1 parent c539548 commit bbe7ef0

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

docs/book/src/developer/build-images.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,12 @@ Compose the `user-variables.json` file containing the information for the PowerV
5959
- `service_instance_id`: PowerVS service instance ID
6060
- `ssh_private_key_file`: Path to the SSH private key file used to connect to the vm while image preparation, e.g: /Users/manjunath/.ssh/id_rsa
6161
- `zone`: PowerVS zone, e.g: osa21
62-
- `dhcp_network`: Boolean value when set to true, a DHCP server will be created in PowerVS workspace and its private network will be attached to VM, Make sure to customize the network settings while building OS using [pvsadm tool](https://github.com/ppc64le-cloud/pvsadm/blob/main/docs/Build%20DHCP%20enabled%20Centos%20Images.md).
62+
- `dhcp_network`: Set to `true` if the image has to be built with DHCP support
63+
64+
> **Note:**
65+
> 1. When setting `dhcp_network: true`, you need to build an OS image with certain network settings using [pvsadm tool](https://github.com/ppc64le-cloud/pvsadm/blob/main/docs/Build%20DHCP%20enabled%20Centos%20Images.md) and replace [the fields](https://github.com/kubernetes-sigs/image-builder/blob/cb925047f388090a0db3430ca3172da63eff952c/images/capi/packer/powervs/centos-8.json#L6) with the custom image details.
66+
> 2. Clone the image-builder repo and run `make build` commands from a system where the DHCP private IP can be reached and SSH able(you can use a transit gateway with connections added for VPC and PowerVS workspace and build the image from a virtual server instance in VPC).
67+
6368

6469
```shell
6570
# Clone the image-builder repository

docs/book/src/machine-images/powervs.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,17 @@
1313
| us-south | power-oss-bucket | [capibm-powervs-centos-streams8-1-23-5.ova.gz][streams8-1-23-5] | 1.23.5 |
1414
| us-south | power-oss-bucket | [capibm-powervs-centos-streams8-1-22-4.ova.gz][streams8-1-22-4] | 1.22.4 |
1515

16-
Note: These images are built using the [image-builder][image-builder] tool and more information can be found [here](../developer/build-images.md#powervs)
16+
## PowerVS Images with DHCP based network
1717

18+
| Region | Bucket | Object | Kubernetes Version |
19+
|----------|------------------|-----------------------------------------------------------------|--------------------|
20+
| us-south | power-oss-bucket | [capibm-powervs-centos-streams9-1-29-3-1719470782.ova.gz][centos-streams9-1-29-3] | 1.29.3 |
21+
| us-south | power-oss-bucket | [capibm-powervs-centos-streams8-1-28-4-1707287079.ova.gz][centos-streams8-1-28-4] | 1.28.4 |
22+
23+
> **Note:** These images are built using the [image-builder][image-builder] tool and more information can be found [here](../developer/build-images.md#powervs)
24+
25+
[centos-streams9-1-29-3]: https://power-oss-bucket.s3.us-south.cloud-object-storage.appdomain.cloud/capibm-powervs-centos-streams9-1-29-3-1719470782.ova.gz
26+
[centos-streams8-1-28-4]: https://power-oss-bucket.s3.us-south.cloud-object-storage.appdomain.cloud/capibm-powervs-centos-streams8-1-28-4-1707287079.ova.gz
1827
[streams8-1-29-3]: https://power-oss-bucket.s3.us-south.cloud-object-storage.appdomain.cloud/capibm-powervs-centos-streams8-1-29-3.ova.gz
1928
[streams8-1-28-4]: https://power-oss-bucket.s3.us-south.cloud-object-storage.appdomain.cloud/capibm-powervs-centos-streams8-1-28-4.ova.gz
2029
[streams8-1-27-2]: https://power-oss-bucket.s3.us-south.cloud-object-storage.appdomain.cloud/capibm-powervs-centos-streams8-1-27-2.ova.gz

0 commit comments

Comments
 (0)