On 1/28/20 6:48 AM, arnaud gaboury wrote:
I run a cloud bare metal server with Fedora Silverblue. The server
far from being full of services and settings, so I would like to take
the opportunity to migrate to FCOS before too many apps are deployed.
Following Fedoraproject documentation, I have been able to write a
simple ignition file with no issues. But then I have no idea how to
proceed to install FCOS, as I can't boot the server from an ISO file.
My first though is to install coreos-installer, via a package or a
docker image, then run coreos-installer as described in the coreos
github with my .ign file, then reboot. Will I be able to thereafter
ssh the server as core user with the given ssh key? Or shall I write
sshd settings in my ignition file to allow ssh from key for user core?
After you boot the ISO image you are given a bash prompt on the system. You
can then run /usr/bin/coreos-installer to install Fedora CoreOS to the disk
you desire as described in
You should be able to add an ssh key pretty easy. If you follow the lab to the
end we add an SSH key to the ignition config in the advanced example.
Adding an ssh key is also the simplest example in the docs:
Is it the correct process? Or is the process something more complicated
This is the correct process. You can use PXE if you like (typically better
for automation), but it's not required. Just use the live ISO for now.
I have read the excellent paper, as usual, written by Dusty, but the
process is dedicated to a VM. Maybe can I make some changes to adapt the
Your Ignition file you create can be the same
Thank you for any hint to a clear way to install coreOS from Silverblue.
I may then write a How-To as it seems clear directions are missing.
You can't migrate a server "in-place". i.e. you can install Fedora CoreOS
the same disk your Fedora Silverblue instance is booted from. You can boot the
Fedora CoreOS live ISO image and do the install from that "live" environment,