Document an example setup of CoreOS
This commit is contained in:
7
1-coreos/1-prepare-ignition-files/example.bu
Normal file
7
1-coreos/1-prepare-ignition-files/example.bu
Normal file
@@ -0,0 +1,7 @@
|
||||
variant: fcos
|
||||
version: 1.4.0
|
||||
passwd:
|
||||
users:
|
||||
- name: core
|
||||
ssh_authorized_keys:
|
||||
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJwojmm5GUDQTt/ic1w3yf5c0fyiPqhy8D9Y4qMVljEA othrayte@gmail.com
|
||||
15
1-coreos/1-prepare-ignition-files/example.ign
Normal file
15
1-coreos/1-prepare-ignition-files/example.ign
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"ignition": {
|
||||
"version": "3.3.0"
|
||||
},
|
||||
"passwd": {
|
||||
"users": [
|
||||
{
|
||||
"name": "core",
|
||||
"sshAuthorizedKeys": [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJwojmm5GUDQTt/ic1w3yf5c0fyiPqhy8D9Y4qMVljEA othrayte@gmail.com"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
3
1-coreos/1-prepare-ignition-files/readme.md
Normal file
3
1-coreos/1-prepare-ignition-files/readme.md
Normal file
@@ -0,0 +1,3 @@
|
||||
1. Ensure butane is installed `dnf install butane`
|
||||
2. Compile butane files into ignition files
|
||||
`butane --pretty --strict example.bu --output example.ign`
|
||||
19
1-coreos/2-install-coreos/readme.md
Normal file
19
1-coreos/2-install-coreos/readme.md
Normal file
@@ -0,0 +1,19 @@
|
||||
1. 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
|
||||
2. Boot ISO
|
||||
On unraid
|
||||
1. **VMS > ADD VM > Linux/CoreOS**
|
||||
2. Set **OS Install ISO** to downloaded iso
|
||||
3. Choose **Primary vDisk Size**, say 10GB (they recommend 8GiB min but 8GB is less than that)
|
||||
3. Connect
|
||||
On unraid: **VMS > (VM Icon, left click) > VM Console(VNC)**
|
||||
4. Identify disk to install to
|
||||
`sudo vdisk -l`, on unraid this was /dev/vda
|
||||
5. Host the ignition file for the installer to see
|
||||
Run `python3 -m http.server 8080` (from the folder with the ignition files)
|
||||
6. Install CoreOS
|
||||
1. Get the OS on disk for the first time
|
||||
`sudo coreos-installer install /dev/vda --insecure-ignition --ignition-url http://192.168.1.115:8080/example.ign`
|
||||
2. Reboot to injest ignition file and provision
|
||||
`sudo reboot`
|
||||
ssh should now work with the user's ssh keys from ignition file
|
||||
Reference in New Issue
Block a user