<div dir="ltr"><div>On Precise (12.04) ubuntu cloud image. When spun up on AWS, it seemed that cloud-init (or other mysterious process) format ephemeral0 (or /dev/xvdb) and mount it. I wasn't able to find anything in cloud-init.log that indicate cloud-init did this.</div>
<div><br></div><div>I was able to disable/overwrite mounting from happen via:</div><div><br></div><div>#cloud-config</div><div><div>mounts:</div><div> - [ ephemeral0, null ]</div></div><div><br></div><div>However I'm having a really hard time preventing auto partitioning from happening. I've read that it's propose and backport to Precise to do just that [2] and the configuration for it [1] is here:</div>
<div><br></div><div><div>fs_setup:</div><div>   - label: ephemeral0</div><div>     filesystem: 'ext3'</div><div>     device: 'ephemeral0'</div><div>     partition: 'none'</div><div>     overwrite: False</div>
<div><br></div><div>disk_setup:</div><div>   ephmeral0:</div><div>       type: 'mbr'</div><div>       layout: True</div><div>       overwrite: False</div></div><div><br></div><div>Anyone know how to prevent this from happening automatically on the Ubuntu cloud-image?</div>
<div><br></div><div>[1] <a href="https://github.com/number5/cloud-init/blob/master/doc/examples/cloud-config-disk-setup.txt">https://github.com/number5/cloud-init/blob/master/doc/examples/cloud-config-disk-setup.txt</a></div>
<div>[2] <a href="https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1231490">https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1231490</a></div><div><br></div><br clear="all"><div>-bn<br>0216331C</div>

</div>