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",
245 def __init__(self, config_path): argument
254 config_mgr = config.AcloudConfigManager(config_path)
256 self.config_path = config_mgr.user_config_path
292 SetupSSHKeys(self.config_path, self.ssh_private_key_path,
320 UpdateConfigFile(self.config_path, "stable_host_image_name", "")
412 UpdateConfigFile(self.config_path, "project", self.project)
413 UpdateConfigFile(self.config_path, "zone", self.zone)
430 UpdateConfigFile(self.config_path, "client_id", self.client_id)
431 UpdateConfigFile(self.config_path, "client_secret", self.client_secret)