mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue