added setting keypairs when vm instance created