Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auto-provisioning: improve behavior with power cuts
Some users when auto-provisioning, power down the system once they see the auto-provisioning service exit successfully. However, in some cases this can cause the files created from the provisioning process to not be fully written to disk, resulting in 0-byte files upon next boot. Therefore, add an explicit sync after the files are written to improve the behavior of the auto-provisioning in these cases. Related-to: TOR-3743 Signed-off-by: Jeremias Cordoba <[email protected]>
- Loading branch information