Open slankes opened 3 years ago
So compiling on the rescue system no longer works because debian 10 has rust 1.41.1 and coreos-installer needs 1.42 to work.
I don't think using the rescue system is going to work well enough for the future. Not only does a locally built coreos-installer
no longer work on the rescue system but the current fcct
(now butane) fails with the same error as well.
I've managed to get a working installation using a coreos-installer
and butane
that I compiled myself on an old ubuntu lts system but this isn't really sustainable IMO. I am going to see if it is possible to do install from a booted fedora system instead. If that can be made to work it would have the added bonus that butane
and coreos-installer
can be aquired from the fedora repositories.
I use the official coreos-installer container image with docker in rescue like this:
(2GB VM is not enough to store the ISO download and docker - 4 GB tested works - can be downgraded after initial install)
update-alternatives --set iptables /usr/sbin/iptables-legacy
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
apt install -y docker.io
apt clean
docker run --privileged --rm -v /dev:/dev -v /run/udev:/run/udev -v $PWD:/data -w /data quay.io/coreos/coreos-installer:release install /dev/sda -p qemu -i ignition.ign
butane can also be called as:
docker run -it --rm -v ${PWD}:/pwd -w /pwd quay.io/coreos/butane:release
I've converted this to a terraform module for my needs - you can see it here https://github.com/sedlund/terraform-hcloud-fcos
Great work, this is the much more clean way to setup!
I've tried following your howto but failed twofold:
1st
I am on Fedora 34 and the coreos-installer that I build locally will not run in the rescue system (wrong glibc version)
2nd
When I try to have the installer build on the rescue system as suggested, it fails compiling
Compiling tracing-core v0.1.18
.Still looking for a clean way to fix it and will send a merge request once I have found one.