Hello, I aim to install the Fedora CoreOS image on the machine and get my bare metals up and running with CoreOS. I couldn’t find enough information in the custom image build documentation. My attempts were unsuccessful.
First attempt: I uploaded the raw format image as filetype=ddraw to MaaS. I got from the original Fedora CoreOS website in raw.xz format. I got an error like the one below.
"ValueError: Did not find any filesystem on ['sda'] that contained one of ['curtin', 'system-data/var/lib/snapd', 'snaps']
Did not find any filesystem on ['sda'] that contained one of ['curtin', 'system-data/var/lib/snapd', 'snaps']"
Second attempt: When I tried to get the build of Fedora CoreOS that would give tar.gz output using the same KS file of CentOS Stream 9 via Packer Maas repo, the build was successfully received, but I received an error like the one below while converting to tar.gz.
"nbd Bad magic number in super-block." and the process was not successful.
I get that this conversion process was used to get the builds of other OS through the scripts/ scripts in packer-maas repo itself. In other words, it is a common script for other supported OS but I encountered this situation despite doing an extra process.
Question 1: Can we only use images supported by MaaS in MaaS?
Question 2: Is the reason for the situation related in the “First attempt” due to the fact that I did not get a build with Packer?
Question 3: Did I make a mistake by using the KS file for CentOS? Should I prepare a special KS file?
Note: When I try the qcow2 on KVM build received before converting tar.gz, it works successfully. I think the problem is due to the conversion to tar.gz and Curtin processes.
If my perspective is wrong and it is really possible to launch any OS on MaaS, can you tell us about the process or can you share a document?
I would be glad if you can help. I am waiting for your answers.