diff --git a/.gitignore b/.gitignore index 60d850e..3d628b5 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,4 @@ rke2.yaml admin.conf **.DS_Store +examples/test-* \ No newline at end of file diff --git a/modules/userdata/files/rke2-init.sh b/modules/userdata/files/rke2-init.sh index 9a35abc..c3a1620 100644 --- a/modules/userdata/files/rke2-init.sh +++ b/modules/userdata/files/rke2-init.sh @@ -26,7 +26,7 @@ timestamp() { config() { mkdir -p "/etc/rancher/rke2" - cat < "/etc/rancher/rke2/config.yaml" + cat <> "/etc/rancher/rke2/config.yaml" # Additional user defined configuration ${config} EOF