From 46cfdfe3a668d596f99e65850e38991dada968a7 Mon Sep 17 00:00:00 2001 From: Mohamed Rafraf <81432497+mohamed-rafraf@users.noreply.github.com> Date: Fri, 11 Oct 2024 15:59:04 +0200 Subject: [PATCH] Fix typo in template.go (#1869) Signed-off-by: Mohamed Rafraf <81432497+mohamed-rafraf@users.noreply.github.com> --- .../provider/baremetal/plugins/tinkerbell/client/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cloudprovider/provider/baremetal/plugins/tinkerbell/client/template.go b/pkg/cloudprovider/provider/baremetal/plugins/tinkerbell/client/template.go index bc5db5deb..c5baf8ad1 100644 --- a/pkg/cloudprovider/provider/baremetal/plugins/tinkerbell/client/template.go +++ b/pkg/cloudprovider/provider/baremetal/plugins/tinkerbell/client/template.go @@ -269,7 +269,7 @@ func decodeCloudInitFile(hardwareName string) Action { "FS_TYPE": fsType, "CHROOT": "y", "DEFAULT_INTERPRETER": "/bin/sh -c", - "CMD_LINE": fmt.Sprintf("cat /tmp/%s-bootstrap-config | base64 -d > ''/var/lib/cloud/seed/nocloud/user-data'", hardwareName), + "CMD_LINE": fmt.Sprintf("cat /tmp/%s-bootstrap-config | base64 -d > '/var/lib/cloud/seed/nocloud/user-data'", hardwareName), }, } }