Ben,

Thanks for the clarification. That probably explained a lot for the
behavior I'm seeing.

-bn
0216331C


On Mon, Jun 30, 2014 at 7:48 AM, Ben Howard <ben.how...@canonical.com>
wrote:

>
> On 06/26/2014 12:42 PM, Bao Nguyen wrote:
>
>  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.
>
>   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.
>
>  I was able to disable/overwrite mounting from happen via:
>
>  #cloud-config
>  mounts:
>  - [ ephemeral0, null ]
>
>  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:
>
>  fs_setup:
>    - label: ephemeral0
>      filesystem: 'ext3'
>      device: 'ephemeral0'
>      partition: 'none'
>      overwrite: False
>
>  disk_setup:
>    ephmeral0:
>        type: 'mbr'
>        layout: True
>        overwrite: False
>
>  Anyone know how to prevent this from happening automatically on the
> Ubuntu cloud-image?
>
>  [1]
> https://github.com/number5/cloud-init/blob/master/doc/examples/cloud-config-disk-setup.txt
> [2] https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1231490
>
>
> -bn
> 0216331C
>
>
>
> --
>
>
> Ben howardben.how...@canonical.com
> Canonical
> GPG ID 0x5406A866
>
>
>
>
> --
> Ubuntu-cloud mailing list
> Ubuntu-cloud@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-cloud
>
>
-- 
Ubuntu-cloud mailing list
Ubuntu-cloud@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-cloud

Reply via email to