This commit is contained in:
Mikhail Timofeev
2020-09-08 23:56:33 +03:00
parent 6fecdfae36
commit 9e6468a11c

View File

@@ -95,6 +95,7 @@
}, },
{ {
"type": "shell", "type": "shell",
"execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}",
"scripts":[ "scripts":[
"{{template_dir}}/scripts/installers/preparemetadata.sh" "{{template_dir}}/scripts/installers/preparemetadata.sh"
], ],
@@ -103,8 +104,7 @@
"METADATA_FILE={{user `metadata_file`}}", "METADATA_FILE={{user `metadata_file`}}",
"HELPER_SCRIPTS={{user `helper_script_folder`}}", "HELPER_SCRIPTS={{user `helper_script_folder`}}",
"ANNOUNCEMENTS={{user `announcements`}}" "ANNOUNCEMENTS={{user `announcements`}}"
], ]
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
}, },
{ {
"type": "shell", "type": "shell",