Actions
Task #17438
closed[deployment][packer] compute-images script fixes
Description
a few more fixes to the packer compute-image script:
1. The script edits the /lib/systemd/system/docker.service
file in place. The recommended way to customize systemd service files is to place the modified files in /etc/systemd/system/
instead, so they're not accidentally overwritten on updates.
2. The script requires a resolver
variable and forces modifying docker
's DNS settings. This is not required/advisable/desired in some environments like cloud, where DNS resolvers might be changed and propagated correctly by the underlying infrastructure.
Related issues
Actions