How To Use Cloud Init To mount an unformatted EBS volume
问题 Context I am using the https://wiki.jenkins.io/display/JENKINS/Amazon+EC2+Plugin for jenkins which allows me to dynamically provision new cloud instances as build slaves in AWS EC2. I am launching ami-d834aba1 (Amazon Linux 2017.09.1). The plugin supports providing user-data and block device mapping too, currently I provide config like this after reading https://cloudinit.readthedocs.io/en/latest/ User Data #cloud-config repo_update: true repo_upgrade: all package_upgrade: true bootcmd: - [