|
@ -101,14 +101,14 @@ create_client_files() { |
|
|
|
|
|
|
|
|
cat <<- EOF > $mender_dir/mender.conf |
|
|
cat <<- EOF > $mender_dir/mender.conf |
|
|
{ |
|
|
{ |
|
|
"InventoryPollIntervalSeconds": "$inventPollInterval", |
|
|
"InventoryPollIntervalSeconds": $inventPollInterval, |
|
|
"RetryPollIntervalSeconds": "$retryPollInterval", |
|
|
"RetryPollIntervalSeconds": $retryPollInterval, |
|
|
"RootfsPartA": "$rootfsparta", |
|
|
"RootfsPartA": "$rootfsparta", |
|
|
"RootfsPartB": "$rootfspartb", |
|
|
"RootfsPartB": "$rootfspartb", |
|
|
"ServerCertificate": "/etc/mender/server.crt", |
|
|
"ServerCertificate": "/etc/mender/server.crt", |
|
|
"ServerURL": "$mender_server_url", |
|
|
"ServerURL": "$mender_server_url", |
|
|
"TenantToken": "$mender_tenant_token", |
|
|
"TenantToken": "$mender_tenant_token", |
|
|
"UpdatePollIntervalSeconds": "$updatePollInterval" |
|
|
"UpdatePollIntervalSeconds": $updatePollInterval |
|
|
} |
|
|
} |
|
|
EOF |
|
|
EOF |
|
|
|
|
|
|
|
|