diff --git a/examples/launch_templates_with_managed_node_groups/templates/userdata.sh.tpl b/examples/launch_templates_with_managed_node_groups/templates/userdata.sh.tpl index 6cbad7921b..41eeb0ba03 100644 --- a/examples/launch_templates_with_managed_node_groups/templates/userdata.sh.tpl +++ b/examples/launch_templates_with_managed_node_groups/templates/userdata.sh.tpl @@ -3,8 +3,8 @@ Content-Type: multipart/mixed; boundary="//" --// Content-Type: text/x-shellscript; charset="us-ascii" -#!/bin/bash -set -xe +#!/bin/bash +set -e # Bootstrap and join the cluster /etc/eks/bootstrap.sh --b64-cluster-ca '${cluster_auth_base64}' --apiserver-endpoint '${endpoint}' ${bootstrap_extra_args} --kubelet-extra-args "${kubelet_extra_args}" '${cluster_name}' diff --git a/templates/userdata.sh.tpl b/templates/userdata.sh.tpl index 6194a863e5..cf314b8800 100644 --- a/templates/userdata.sh.tpl +++ b/templates/userdata.sh.tpl @@ -1,4 +1,4 @@ -#!/bin/bash -xe +#!/bin/bash -e # Allow user supplied pre userdata code ${pre_userdata}