Browse Source
Merge pull request #74 from mirzak/mender-conf-parse-error
convert-stage-4: interval settings must be 'int' and not strings
1.1.x
Adam Podogrocki
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
convert-stage-4.sh
|
|
@ -101,14 +101,14 @@ create_client_files() { |
|
|
|
|
|
|
|
cat <<- EOF > $mender_dir/mender.conf |
|
|
|
{ |
|
|
|
"InventoryPollIntervalSeconds": "$inventPollInterval", |
|
|
|
"RetryPollIntervalSeconds": "$retryPollInterval", |
|
|
|
"InventoryPollIntervalSeconds": $inventPollInterval, |
|
|
|
"RetryPollIntervalSeconds": $retryPollInterval, |
|
|
|
"RootfsPartA": "$rootfsparta", |
|
|
|
"RootfsPartB": "$rootfspartb", |
|
|
|
"ServerCertificate": "/etc/mender/server.crt", |
|
|
|
"ServerURL": "$mender_server_url", |
|
|
|
"TenantToken": "$mender_tenant_token", |
|
|
|
"UpdatePollIntervalSeconds": "$updatePollInterval" |
|
|
|
"UpdatePollIntervalSeconds": $updatePollInterval |
|
|
|
} |
|
|
|
EOF |
|
|
|
|
|
|
|