[ubuntu-cloud] Cloud-config and mount points

Bo Shi bo at simpler.co
Wed Jul 11 01:11:00 UTC 2012


Hi,

On an AWS EC2 instance, I'd like to switch /var/log from the root disk
to an ephemeral disk.  I can successfully change the mount point using
cloud-config:

   mounts:
     - [ ephemeral0, /var/log, auto, "defaults,noexec" ]


One problem with this approach is that the actual mounts appear to be
occurring *after* rsyslog is started which blows away any existing
logs.  Does anyone know of a workaround?


Thanks,
Bo



More information about the Ubuntu-cloud mailing list