Merge pull request #1563 from miketimofeev/v-mitim/test_announce
[Ubuntu] Fix announcements rendering
This commit is contained in:
@@ -100,6 +100,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"
|
||||||
],
|
],
|
||||||
@@ -108,8 +109,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",
|
||||||
|
|||||||
@@ -103,6 +103,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"
|
||||||
],
|
],
|
||||||
@@ -111,8 +112,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",
|
||||||
|
|||||||
@@ -105,6 +105,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"
|
||||||
],
|
],
|
||||||
@@ -113,8 +114,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",
|
||||||
|
|||||||
Reference in New Issue
Block a user