Skip to content

Commit ba45bab

Browse files
committed
update
1 parent 298405a commit ba45bab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hack/remote/cloud-init.yaml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ write_files:
156156
kind version
157157
158158
# Store config for kind cluster with mounts for CAPD.
159-
cat <<EOF > ${HOME}/kind.yaml
159+
cat <<EOF > /root/kind.yaml
160160
kind: Cluster
161161
apiVersion: kind.x-k8s.io/v1alpha4
162162
networking:

hack/remote/setup-docker-lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ function template_cloud_init_file {
194194
cloud_init_file="${ARTIFACTS_DOCKER_SERVER}/cloud-init.yaml"
195195

196196
# Ensure cloud init file exists and is empty.
197-
truncate --size 0 "$cloud_init_file"
197+
echo "" > "$cloud_init_file"
198198

199199
# Render cloud init file.
200200
# shellcheck disable=SC2016,SC2086,SC2153

0 commit comments

Comments
 (0)