mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 09:56:59 +02:00
image build and composition scripts for Flatcar Container Linux
`etcd` node's name was defined by `ETCD_NAME`, from `etcd/v3` the server can't be started with both `ETCD_NAME` and `--name` supplied. Which leads to three cases: * `etcd-member.service` starts without further configuration, no issue since only `ETCD_NAME=%m` is used * `etcd-member.service` is overrided with a CLC without `name: ` key, no issue since only `ETCD_NAME=%m` is used * `etcd-member.service` is overrided with a CLC with a `name: ` key, there is an issue since in the final service we will have both `ETCD_NAME=%m` and `--name name-from-clc` This patch conditionally unset the `ETCD_NAME` in case `--name` is supplied. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com> |
||
---|---|---|
sdk_container/src/third_party/coreos-overlay |