<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 06/26/2014 12:42 PM, Bao Nguyen
wrote:<br>
</div>
<blockquote
cite="mid:CAArUcOLfWPUpiTBdsokZ_gAT08uAyZJTQOss3gvEniMsv1K5hQ@mail.gmail.com"
type="cite">
<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>
</blockquote>
On AWS, ephemeral0 is pre-formated by AWS. Also, the auto-formating
is done on a per-cloud basis, which is only Azure and SmartOS at
this time. We were thinking about putting something in for AWS, but
never got around to it. <br>
<br>
<blockquote
cite="mid:CAArUcOLfWPUpiTBdsokZ_gAT08uAyZJTQOss3gvEniMsv1K5hQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<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 moz-do-not-send="true"
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 moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Ben Howard
<a class="moz-txt-link-abbreviated" href="mailto:ben.howard@canonical.com">ben.howard@canonical.com</a>
Canonical
GPG ID 0x5406A866
</pre>
</body>
</html>