bundles/backup-client: metadata backup-pre-hooks now use /bin/sh by default
This commit is contained in:
parent
077eaa265c
commit
b20f369ea8
2 changed files with 1 additions and 2 deletions
|
@ -36,6 +36,6 @@ directories['/etc/backup-pre-hooks.d'] = {
|
|||
|
||||
for hname, hcontent in node.metadata['backup-client'].get('pre-hooks', {}).items():
|
||||
files[f'/etc/backup-pre-hooks.d/{hname}'] = {
|
||||
'content': hcontent,
|
||||
'content': '#!/bin/sh\n\n' + hcontent,
|
||||
'mode': '0700',
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue