Skip to content

Commit e22ecc0

Browse files
himani2411Himani Deshpande
andauthored
Adding the CFN_BOOTSTRAP_VIRTUALENV_PATH variable in cfn-hook-update.conf (#2758)
Ref: #2742 Co-authored-by: Himani Deshpande <himanidp@amazon.com>
1 parent cfc5956 commit e22ecc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[parallelcluster-update]
22
triggers=post.update
33
path=Resources.<%= @launch_template_resource_id %>.Metadata.AWS::CloudFormation::Init
4-
action=PATH=/usr/local/bin:/bin:/usr/bin:/opt/aws/bin; . /etc/profile.d/pcluster_cookbook_environment.sh; cfn-init -v --stack <%= @stack_id %> --resource <%= @launch_template_resource_id %> --configsets update --region <%= @region %> --url <%= @cloudformation_url %> --role <%= @cfn_init_role %>
4+
action=PATH=/usr/local/bin:/bin:/usr/bin:/opt/aws/bin; . /etc/profile.d/pcluster_cookbook_environment.sh; $CFN_BOOTSTRAP_VIRTUALENV_PATH/cfn-init -v --stack <%= @stack_id %> --resource <%= @launch_template_resource_id %> --configsets update --region <%= @region %> --url <%= @cloudformation_url %> --role <%= @cfn_init_role %>
55
runas=root

0 commit comments

Comments
 (0)