Lines Matching refs:config_path
65 def UpdateConfigFile(config_path, item, value): argument
86 if os.path.isfile(config_path):
87 with open(config_path, "r") as cfg_file:
96 with open(config_path, "w") as cfg_file:
100 def SetupSSHKeys(config_path, private_key_path, public_key_path): argument
117 UpdateConfigFile(config_path, "ssh_private_key_path",
119 UpdateConfigFile(config_path, "ssh_public_key_path",
246 def __init__(self, config_path): argument
255 config_mgr = config.AcloudConfigManager(config_path)
257 self.config_path = config_mgr.user_config_path
293 SetupSSHKeys(self.config_path, self.ssh_private_key_path,
321 UpdateConfigFile(self.config_path, "stable_host_image_name", "")
413 UpdateConfigFile(self.config_path, "project", self.project)
414 UpdateConfigFile(self.config_path, "zone", self.zone)
431 UpdateConfigFile(self.config_path, "client_id", self.client_id)
432 UpdateConfigFile(self.config_path, "client_secret", self.client_secret)