Skip to content

Commit

Permalink
feat(aws/config): Support configuring auth_service.proxy_listener_mode (
Browse files Browse the repository at this point in the history
#23669)

Signed-off-by: Roman Tkachenko <roman@goteleport.com>
Co-authored-by: Håkon Solbjørg <hakon@solbj.org>
  • Loading branch information
r0mant and sklirg committed Mar 27, 2023
1 parent fbf2bc2 commit e708d7d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions assets/aws/files/bin/teleport-generate-config
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,11 @@ EOF
echo " license_file: /var/lib/teleport/license.pem" >> ${USE_CONFIG_PATH}
fi

# configure proxy_listener_mode
if [[ -n "${PROXY_MULTIPLEXING}" ]]; then
echo " proxy_listener_mode: ${PROXY_MULTIPLEXING}" >> ${USE_CONFIG_PATH}
fi

# enable/start token services and timers
systemctl_wrap enable teleport-ssm-publish-tokens.service teleport-ssm-publish-tokens.timer
systemctl_wrap start teleport-ssm-publish-tokens.timer
Expand Down Expand Up @@ -479,6 +484,11 @@ EOF
echo " license_file: /var/lib/teleport/license.pem" >> ${USE_CONFIG_PATH}
fi

# configure proxy_listener_mode
if [[ -n "${PROXY_MULTIPLEXING}" ]]; then
echo " proxy_listener_mode: ${PROXY_MULTIPLEXING}" >> ${USE_CONFIG_PATH}
fi

cat >>${USE_CONFIG_PATH} <<EOF
ssh_service:
Expand Down

0 comments on commit e708d7d

Please sign in to comment.