Parse hw_property args in acloud create cmd
Bug: 112685015
Test: m acloud && m acloud_test && acloud_test
acloud create --hw_property cpu:2,resolution:1280x720,dpi:240,memory:2g,disk:4g
acloud create --local_instance --local_image --hw_property cpu:2,resolution:1280x80,memory:4g
Change-Id: I07002c7aa8ba0ac90503aa28dab894729b1f29a6
diff --git a/public/acloud_main.py b/public/acloud_main.py
index 23a73b2..ce408fb 100644
--- a/public/acloud_main.py
+++ b/public/acloud_main.py
@@ -415,10 +415,7 @@
#args = _TranslateAlias(args)
_VerifyArgs(args)
- config_mgr = config.AcloudConfigManager(args.config_file)
- cfg = config_mgr.Load()
- cfg.OverrideWithArgs(args)
-
+ cfg = config.GetAcloudConfig(args)
# TODO: Move this check into the functions it is actually needed.
# Check access.
# device_driver.CheckAccess(cfg)