Merge "Show the hint when local instance exceed the max number." am: dcd99ea6bf
Original change: https://android-review.googlesource.com/c/platform/tools/acloud/+/1954385
Change-Id: Idde795a3e96b2e0a73fa6f4621bda86db02c9317
diff --git a/create/local_image_local_instance.py b/create/local_image_local_instance.py
index 9630ddd..23f1ccd 100644
--- a/create/local_image_local_instance.py
+++ b/create/local_image_local_instance.py
@@ -105,9 +105,12 @@
# /etc/init.d/cuttlefish-common
_MAX_INSTANCE_ID = 10
+# TODO(b/213521240): To check why the delete function is not work and
+# has to manually delete temp folder.
_INSTANCES_IN_USE_MSG = ("All instances are in use. Try resetting an instance "
"by specifying --local-instance and an id between 1 "
- "and %d." % _MAX_INSTANCE_ID)
+ "and %d. Alternatively, to run 'acloud delete --all' "
+ % _MAX_INSTANCE_ID)
_CONFIRM_RELAUNCH = ("\nCuttlefish AVD[id:%d] is already running. \n"
"Enter 'y' to terminate current instance and launch a new "
"instance, enter anything else to exit out[y/N]: ")