Add in new arg --skip-pre-run-check to skip pre-run check.
Bug: 136192404
Test: atest acloud_test --host
Change-Id: Id12f5a4274f1ccc9d5b50fb1ea00e233020f480d
diff --git a/create/create.py b/create/create.py
index e4bc76a..fb9dc09 100644
--- a/create/create.py
+++ b/create/create.py
@@ -207,7 +207,8 @@
Args:
args: Namespace object from argparse.parse_args.
"""
- PreRunCheck(args)
+ if not args.skip_pre_run_check:
+ PreRunCheck(args)
spec = avd_spec.AVDSpec(args)
avd_creator_class = GetAvdCreatorClass(spec.avd_type,
spec.instance_type,