Browse Source

Starting on config file based around HostGroups

neo
Raphael Roberts 6 years ago
parent
commit
8b6faaf835
  1. 6
      ssh_config_utils/config_file.py

6
ssh_config_utils/config_file.py

@ -85,3 +85,9 @@ class ConfigFile:
file.write(text) file.write(text)
else: else:
text = fp.write(text) text = fp.write(text)
class GroupedConfigFile(ConfigFile):
def __init__(self, global_host, hosts):
self.global_host = global_host
self.root_group = HostGroup("")
Loading…
Cancel
Save