Add new option "gcp_init" for acloud setup
- Setup user information in gcloud config file
- Enable gcloud API service
- Generate SSH key
Bug: 110856450
Test: ./run_tests.sh, m acloud && acloud setup --gcp_init
acloud setup
Change-Id: I88d6e52cb5164e023023bf9c5c62b93c87c8bc3f
diff --git a/public/acloud_main.py b/public/acloud_main.py
index a4778c1..893d96d 100644
--- a/public/acloud_main.py
+++ b/public/acloud_main.py
@@ -463,7 +463,7 @@
elif args.which == CMD_SSHKEY:
report = device_driver.AddSshRsa(cfg, args.user, args.ssh_rsa_path)
elif args.which == setup_args.CMD_SETUP:
- setup.Run()
+ setup.Run(args)
else:
sys.stderr.write("Invalid command %s" % args.which)
return 2