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
- Docker's `--net=host` option to ensure http server starts with the host IP and not the Docker container IP. This option is Linux specific and thus implies that it can be run only from a Linux machine.
91
91
92
92
```commandline
93
-
docker run -it --rm --net=host --env PACKER_VAR_FILES=/home/imagebuilder/vsphere.json -v <complete path of vsphere.json>:/home/imagebuilder/vsphere.json registry.k8s.io/scl-image-builder/cluster-node-image-builder-amd64:v0.1.45 build-node-ova-vsphere-ubuntu-2004
93
+
docker run -it --rm --net=host --env PACKER_VAR_FILES=/home/imagebuilder/vsphere.json -v <complete path of vsphere.json>:/home/imagebuilder/vsphere.json registry.k8s.io/scl-image-builder/cluster-node-image-builder-amd64:v0.1.45 build-node-ova-vsphere-ubuntu-2404
94
94
```
95
95
96
96
In addition to this, further customizations can be done as discussed [here](./capi.md#customization).
From the `images/capi` directory, run `make build-qemu-xxxx-yyyy`. The image is built and located in images/capi/output/BUILD_NAME+kube-KUBERNETES_VERSION. Please replace xxxx with the OS distribution and yyyy with the OS version depending on WHAT you want to build the image for.
49
42
50
-
For building a ubuntu-2004 based CAPI image, run the following commands -
43
+
For building a ubuntu-2404 based CAPI image, run the following commands -
Copy file name to clipboardExpand all lines: docs/book/src/capi/providers/ibmcloud.md
+4-11Lines changed: 4 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ This table lists several common options that a user may want to set via `PACKER_
59
59
The parameters can be set via a variable file and passed via `PACKER_VAR_FILES`. See [Customization](../capi.md#customization) for examples.
60
60
61
61
62
-
> **Note:**
62
+
> **Note:**
63
63
> 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.
64
64
> 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.
65
65
@@ -80,13 +80,6 @@ $ sudo -i
80
80
# apt install qemu-kvm libvirt-bin qemu-utils
81
81
```
82
82
83
-
If you're on Ubuntu 20.04 LTS, then execute the following command to install qemu-kvm packages.
From the `images/capi` directory, run `make build-qemu-ubuntu-xxxx`. The image is built and located in images/capi/output/{BUILD_NAME}-kube-{KUBERNETES_VERSION}. Please replace xxxx with `1804` or `2004` depending on the version you want to build the image for.
109
102
110
-
For building a ubuntu-2004 based CAPI image, run the following commands -
103
+
For building a ubuntu-2404 based CAPI image, run the following commands -
User may want to customize their build behavior. The parameters can be set via a variable file and passed via `PACKER_VAR_FILES`. See [Customization](../capi.md#customization) for examples.
113
+
User may want to customize their build behavior. The parameters can be set via a variable file and passed via `PACKER_VAR_FILES`. See [Customization](../capi.md#customization) for examples.
Copy file name to clipboardExpand all lines: docs/book/src/capi/providers/nutanix.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ $ make deps-nutanix
13
13
14
14
## Configure the Nutanix builder
15
15
16
-
Modify the `packer/nutanix/nutanix.json` configuration file with credentials and informations specific to your Nutanix Prism Central used to build the image, you can also use the corresponding env variables.
16
+
Modify the `packer/nutanix/nutanix.json` configuration file with credentials and informations specific to your Nutanix Prism Central used to build the image, you can also use the corresponding env variables.
17
17
This file have the following format:
18
18
19
19
```
@@ -32,12 +32,12 @@ This file have the following format:
|`ubuntu-2004.json`| Settings for Ubuntu 20.04 image |
92
91
|`ubuntu-2204.json`| Settings for Ubuntu 22.04 image |
93
92
|`rockylinux-8.json`| Settings for Rocky Linux 8 image (UEFI) |
94
93
|`rockylinux-9.json`| Settings for Rocky Linux 9 image |
@@ -109,4 +108,4 @@ When building the RHEL image, the OS must register itself with the Red Hat Subsc
109
108
PACKER_FLAGS=-on-error=ask RHSM_USER=user RHSM_PASS=pass make build-nutanix-rhel-9
110
109
```
111
110
112
-
The addition of `PACKER_FLAGS=-on-error=ask` means that if an error is encountered, the build will pause, allowing you to SSH into the machine and unregister manually.
111
+
The addition of `PACKER_FLAGS=-on-error=ask` means that if an error is encountered, the build will pause, allowing you to SSH into the machine and unregister manually.
0 commit comments