Skip to content

Commit 5f56253

Browse files
committed
add better documentation
1 parent 488d302 commit 5f56253

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

docs/supported-platforms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Ignition is currently supported for the following platforms:
2020
* [Hetzner Cloud] (`hetzner`) - Ignition will read its configuration from the instance userdata. Cloud SSH keys are handled separately.
2121
* [Microsoft Hyper-V] (`hyperv`) - Ignition will read its configuration from the `ignition.config` key in pool 0 of the Hyper-V Data Exchange Service (KVP). Values are limited to approximately 1 KiB of text, so Ignition can also read and concatenate multiple keys named `ignition.config.0`, `ignition.config.1`, and so on.
2222
* [IBM Cloud] (`ibmcloud`) - Ignition will read its configuration from the instance userdata. Cloud SSH keys are handled separately.
23-
* [IONOS Cloud] (`ionoscloud`) - Ignition will read its configuration from the instance userdata. Cloud SSH keys are handled separately.
23+
* [IONOS Cloud] (`ionoscloud`) - Ignition will read its configuration from the instance user-data. Cloud SSH keys are handled separately. Per default the user-data is looked up on the root partition in `/var/lib/cloud/seed/nocloud/user-data`. The root partition is detected by the label `ROOT` which can be customized using the environment variable `IGNITION_CONFIG_ROOT_LABEL`.
2424
* [KubeVirt] (`kubevirt`) - Ignition will read its configuration from the instance userdata via config drive. Cloud SSH keys are handled separately.
2525
* Bare Metal (`metal`) - Use the `ignition.config.url` kernel parameter to provide a URL to the configuration. The URL can use the `http://`, `https://`, `tftp://`, `s3://`, `arn:`, or `gs://` schemes to specify a remote config.
2626
* [Nutanix] (`nutanix`) - Ignition will read its configuration from the instance userdata via config drive. Cloud SSH keys are handled separately.

internal/providers/ionoscloud/ionoscloud.go

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,16 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14-
15-
// The IONOSCloud provider fetches configurations from the userdata available in
16-
// the injected file /var/lib/cloud/seed/nocloud/user-data.
14+
//
1715
// NOTE: This provider is still EXPERIMENTAL.
16+
//
17+
// The IONOS Cloud provider fetches the ignition config from the user-data
18+
// available in an injected file at /var/lib/cloud/seed/nocloud/user-data.
19+
// This file is created by the IONOS Cloud VM handler before the first boot
20+
// through the cloud init user data handling.
21+
//
22+
// User data with the directive #cloud-init will be ignored
23+
// See for more: https://docs.ionos.com/cloud/compute-services/compute-engine/how-tos/boot-cloud-init
1824

1925
package ionoscloud
2026

0 commit comments

Comments
 (0)