mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Use correct exec_driver in dockerng.sls module
This change allow to execute dockerng.sls module with correct docker exec_driver.
This commit is contained in:
parent
4fa58be222
commit
3a0d61f108
@ -5744,7 +5744,7 @@ def sls(name, mods=None, saltenv='base', **kwargs):
|
||||
trans_tar_sha256 = salt.utils.get_hash(trans_tar, 'sha256')
|
||||
__salt__['dockerng.copy_to'](name, trans_tar,
|
||||
os.path.join(trans_dest_path, 'salt_state.tgz'),
|
||||
exec_driver='nsenter',
|
||||
exec_driver=_get_exec_driver(),
|
||||
overwrite=True)
|
||||
|
||||
# Now execute the state into the container
|
||||
|
Loading…
Reference in New Issue
Block a user