Commit 7df1d5fe authored by Ivan Tyagov's avatar Ivan Tyagov Committed by Thomas Gambier

software/beremiz-runtime: add md5sum option

Use md5sum to check if what we download is what we actually got.
parent fa39a169
Pipeline #37156 failed with stage
in 0 seconds
[instance-profile] [instance-profile]
filename = instance.cfg.in filename = instance.cfg.in
md5sum = 9da5ea88824bdbf233d65c756b4cadbc md5sum = 928e0850bd68162c1b72e7281b59a4ee
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
"description": "The network (http / https) address of the gzipped PLC source project program file.", "description": "The network (http / https) address of the gzipped PLC source project program file.",
"type": "string", "type": "string",
"default": "" "default": ""
},
"md5sum": {
"description": "The md5sum of the downloaded gzipped PLC source project program file. If empty, md5sum is not checked.",
"type": "string",
"default": ""
} }
} }
} }
...@@ -18,6 +18,7 @@ offline = true ...@@ -18,6 +18,7 @@ offline = true
recipe = slapos.recipe.build:download-unpacked recipe = slapos.recipe.build:download-unpacked
offline = false offline = false
url = ${instance-parameter:configuration.runtime_plc_url} url = ${instance-parameter:configuration.runtime_plc_url}
md5sum = ${instance-parameter:configuration.md5sum}
[instance-parameter] [instance-parameter]
recipe = slapos.cookbook:slapconfiguration recipe = slapos.cookbook:slapconfiguration
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment