On Mon, Nov 7, 2011 at 7:28 AM, Scott Moser <[email protected]> wrote:
> You can configure cloud-init's  mounting of this device off via
> cloud-config, something like:
> mounts:
>  - [ ephemeral0, null ]
>
> Then, cloud-init will not mount it, and you can add whatever mechanism
> you'd like to mount it.  mkfs.ext3 is slow, so I never added "make the
> filesystem" code to cloud-init.

I had to do a bit of goofing around with initctl list, but I basically
listen for these events:

"start on stopped mounted-dev": mkfs.btrfs.  It seems fast enough, and
is worth the checksumming to me.
"start on stopped cloud-config-mounts": mkdir /mnt/tmp, chmod ugo+rwxt
to make a new temp directory

It seems to work, does that look sound to you?

-- 
fdr

-- 
Ubuntu-cloud mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-cloud

Reply via email to