Skip to content

Commit

Permalink
Merge pull request #233 from RomaricKanyamibwa/fix-cfn
Browse files Browse the repository at this point in the history
Perform a second sed for scripts_user module
  • Loading branch information
RomaricKanyamibwa authored Nov 15, 2023
2 parents 7f43e23 + bd6e26f commit a75f956
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/e3/aws/cfn/ec2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

CFN_INIT_STARTUP_SCRIPT = """#!/bin/sh
sed -i 's/scripts-user$/[scripts-user, always]/' /etc/cloud/cloud.cfg
sed -i 's/scripts_user$/[scripts_user, always]/' /etc/cloud/cloud.cfg
${Cfninit} -v --stack ${AWS::StackName} \\
--region ${AWS::Region} \\
--resource ${Resource} \\
Expand Down

0 comments on commit a75f956

Please sign in to comment.