Ajustes finos de configuração
* Para atualizar a versão do CoreOS execute o comando abaixo:
$ cat /etc/os-release <- Ou lsb-release
$ cat /etc/coreos/update.conf
GROUP=stable
$ sudo update_engine_client -check_for_update
$ sudo update_engine_client -update
* Alterar o hostname
$ hostnamectl
$ sudo hostnamectl set-hostname coreos002
* Configurar IP estático no CoreOs é necessário criar o arquivo de configuração no caminho e conteúdo abaixo:
$ sudo vi /etc/systemd/network/00-eth0.network
[Match]
Name=eth0 <- Utilize o comando ifconfig para descobrir o nome da interface
[Network]
Address=<IP>/<CIDR>
Gateway=<GW>
DNS=<DNS_1>
DNS=<DNS_2>
NTP=<IP_NTP>
* Reinicie o CoreOs para efetivar as configurações
$ sudo reboot
* Configurar compartilhamento NFS
$ sudo vi /etc/systemd/system/<PathToMount>.mount
[Mount]
What=nfs.example.com:<PathToShare>
Where=<PathToMount>
Type=nfs
[Install]
WantedBy=multi-user.target