-
Download CoreOS "Live DVD" iso from https://fedoraproject.org/coreos/download?stream=stable#baremetal For archival and for use in unraid these are stored at smb://betelgeuse-seven-unraid.local/isos
-
Boot ISO On unraid
- VMS > ADD VM > Linux/CoreOS
- Set OS Install ISO to downloaded iso
- Choose Primary vDisk Size, say 10GB (they recommend 8GiB min but 8GB is less than that)
-
Connect On unraid: VMS > (VM Icon, left click) > VM Console(VNC)
-
Identify disk to install to
sudo vdisk -l, on unraid this was /dev/vda -
Host the ignition file for the installer to see Run
python3 -m http.server 8080(from the folder with the ignition files) -
Install CoreOS
- Get the OS on disk for tshe first time
sudo coreos-installer install /dev/vda --insecure-ignition --ignition-url http://192.168.1.115:8080/jaglan-beta-m42.ign - Reboot to injest ignition file and provision
sudo rebootssh should now work with the user's ssh keys from ignition file - Wait, the initial service will install the hashistack and reboot again
- Get the OS on disk for tshe first time
-
Boostrapping the consul cluster
- Run
consul agent -boostrap-expect 1 -bind 192.168.1.115 -ui -config-file ./etc/consul.d/consul.hcllocally - Check the ui at http://localhost:8500/ui to ensure that the expected nodes are shown
- Run
Useful Debugging Commands
sudo systemctl start consul
Read consul startup logs: sudo journalctl -xeu consul.service
Start the consul UI locally: consul agent -bind 192.168.1.115 -ui -config-file ./etc/consul.d/consul.hcl