Simplify install code and wait end of cloudinit (precise ami reconfigure apt source with cloudinit)