Use cfn tools under /usr/bin instead of /opt/aws/bin
It is not so common to have cnf-tools under /opt/aws/bin in cloude images. For example, CentOS, RHEL or Fedora has cfn tools under /usr/bin, and has nothing under /opt. Even in Amazon Linux, cfn tools is located under /usr/bin and access to /opt/aws/bin is redirected to /usr/bin with symbolic link, so it could be make us easy to choose an image to run scenario test by using more generic path, under /usr/bin. Change-Id: If2dd6ad3e2a03f62ea932e41a210f0ec0e4c4fcc
This commit is contained in:
parent
e2373b3ba2
commit
e70c886319
|
@ -71,8 +71,8 @@ Resources:
|
|||
- WaitHandle: {Ref: WaitHandle}
|
||||
- |
|
||||
#!/bin/bash -v
|
||||
/opt/aws/bin/cfn-init
|
||||
/opt/aws/bin/cfn-signal -e 0 --data "`cat /tmp/smoke-status`" \
|
||||
/usr/bin/cfn-init
|
||||
/usr/bin/cfn-signal -e 0 --data "`cat /tmp/smoke-status`" \
|
||||
--id smoke_status "WaitHandle"
|
||||
WaitHandle:
|
||||
Type: AWS::CloudFormation::WaitConditionHandle
|
||||
|
|
Loading…
Reference in New Issue