我在cfn
实例中安装了Ubuntu 16.04
个辅助脚本,如下所示:
sudo apt-get -y install python-setuptools
mkdir aws-cfn-bootstrap-latest
curl https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz | tar xz -C aws-cfn-bootstrap-latest --strip-components 1
sudo easy_install aws-cfn-bootstrap-latest
但是,执行cfn-hup
失败的原因如下:
$ /usr/local/bin/cfn-hup
Could not open /var/log/cfn-hup.log for logging. Using stderr instead.
2018-11-27 10:11:40,602 [ERROR] Error: Could not find configuration at /etc/cfn
是否需要采取其他措施才能启用cfn-hup
?