clone hook support for ubuntu cloud template