One way is it to put private key to ssh-agent
Append commands below to .bash_profile
eval  `ssh-agent -s`
ssh-add ~/.ssh/id_rsa
Then fleetctl journal command will run as expected.
30 Mart 2015 Pazartesi
Overrride cloud-config parameters installed by coreos-install
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. 
Kaydol:
Yorumlar (Atom)
