自宅 vSphere 上の CoreOS (Container Linux) のデプロイメモ

Posted on Wed 08 February 2017 in blog • Tagged with coreos, containerlinux

構成

Mesos などを立てるため、Master 3台, Slave 2台以上の予定で作る。

OSイメージ

VMware用のイメージを利用。
/usr/share/oem/cloud-config.yml に vmware tools周りの設定が入っているので便利。

password の変更

grub で linux...の行の末尾に coreos.autologin と入れてパスワードなしログインをしてから、パスワード変更する。

初期設定: cloud-config

/var/lib/coreos-install/user_data を編集する。
(作法を無視すれば、 /usr/share/oem/cloud-config.yml でも良いはず。)

#cloud-config
coreos:
  units:
    - name: docker-tcp.socket
      command …

Continue reading