genvid.toolbox.LinuxConsulService
- class genvid.toolbox.LinuxConsulService(**kwargs)
Bases:
ConsulService
Configure Consul as a service on a Linux server.
- NAME = 'service-consul-linux'
The name of the logger for this tool. Must be redefined in children.
- CONFIG_FILE = '/etc/consul.d/config.json'
- add_consul_dns()
Add own IP to resolv.conf, this will get ovewriten by dhclient though
- restart_dhclient()
Restart dhclient processes using the same commands