mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Fix linux path to hosts
This commit is contained in:
parent
fb673a4f56
commit
15a7e98563
@ -31,7 +31,7 @@ if salt.utils.is_windows():
|
||||
_HOSTS_FILE = os.path.join(
|
||||
os.environ['SystemRoot'], 'System32', 'drivers', 'etc', 'hosts')
|
||||
else:
|
||||
_HOSTS_FILE = os.path.join('etc', 'hosts')
|
||||
_HOSTS_FILE = os.path.join('/', 'etc', 'hosts')
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user