Skip to content

Commit

Permalink
Add chrony for time sync for Azure image
Browse files Browse the repository at this point in the history
Chrony is the only way to sync time from host using PTP source according to the azure team
  • Loading branch information
nader-ziada committed May 21, 2020
1 parent c680d2c commit f28b10e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion images/capi/packer/azure/packer.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@
"--extra-vars",
"{{user `ansible_extra_vars`}}"
]
},
{
"type": "shell",
"inline": [
"sudo apt-get -qq update && sudo apt-get -qqy install chrony && sudo systemctl restart chrony.service"
]
}
]
}
}

0 comments on commit f28b10e

Please sign in to comment.