add flushcache option to ubuntu-cloud image

this avoids using very old lxc root images, see lxc/lxc issue # 381