If you invested a lot of time to override config param that comes through installation, then carry on reading.
For instance, there is a simple config for coreos-install
#cloud-config
coreos:
etcd:
name: node001
addr: 192.168.100.1:4001
peer-addr: 192.168.100.1:7001
discovery: <discoveriy ip>
units:
- name: etcd.service
command: start
There are two way to override config parameter:
- Override systemd service by etcd.service.d/override.conf:
- Override coreos installation script under /var/lib/coreos-install/user_data
I prefer to edit /var/lib/coreos-install/user_data and run coreos-cloudinit to update configurations.
Hiç yorum yok:
Yorum Gönder