
This patch does the following: * ensures that the script is somewhat idempotent so if it is run more than once it will not create duplicate instances * adds consistent messages at each step, ensuring that all steps have consistent output Change-Id: Ifb3a67604dbe65a27096ad01a0aa8ef7e34338be