English Italian
Alternatively, QCOW2 images can be downloaded from the https://getfedora.org/coreos/download?tab=cloud_operators[download page] and manually decompressed.
Before provisioning an FCOS machine, it is recommended to have an Ignition configuration file containing your customizations. If you do not have one, see xref:producing-ign.adoc[Producing an Ignition File].
# Create the template using given URL and CHECKSUM
URL=$(exo storage show "sos://${BUCKET}/image-import/$FILE" --output-template "{{.URL}}")
exo compute instance-template register --boot-mode=uefi $TEMPLATE $URL $CHECKSUM
Do not use the `--cloud-init-compress` argument to the CLI. It causes the Ignition config to be passed compressed to the instance and https://github.com/coreos/fedora-coreos-tracker/issues/1160[Ignition doesn't tolerate that].
Download and decompress the QCOW2 image with https://github.com/coreos/coreos-installer[coreos-installer]
Example connecting
Exoscale offers official FCOS templates, but they are currently out of date. For now we recommend creating your own template. Track progress on fixing this in https://github.com/coreos/fedora-coreos-tracker/issues/1166[#1166].
Exoscale provides https://community.exoscale.com/documentation/compute/custom-templates[Custom Templates] to be able to upload any cloud image. To create a Custom Template you first need to download and decompress the image.
Fedora CoreOS has a default `core` user that can be used to explore the OS. If you want to use it, finalize its xref:authentication.adoc[configuration] by providing e.g. an SSH key.
If just SSH access is desired and no further customization is required, you don't need to pass any Ignition file and you can omit the `--cloud-init` argument.
If you do not want to use Ignition to get started, you can make use of the https://coreos.github.io/afterburn/platforms/[Afterburn support]..
Launching a new instance with Exoscale CLI
Launching a VM instance
DISK='10' # in GiB
TEMPLATE=$TEMPLATE # template name set above
exo compute instance create $NAME \
--disk-size $DISK \
--ssh-key $SSHKEY \
--template $TEMPLATE \
--template-visibility private \
--cloud-init "path/to/ignition-file.ign"
Next you can https://community.exoscale.com/documentation/compute/custom-templates/#register-a-custom-template[Register a Custom Template]. This can be done from the https://portal.exoscale.com/compute/templates/add[Web Portal] or the https://community.exoscale.com/documentation/tools/exoscale-command-line-interface/[Exoscale CLI]. Either option requires the uncompressed image to be uploaded somewhere public and for the URL and an MD5 checksum to be provided during registration. One option is to use the object storage provided by Exoscale to host the image.
Provisioning Fedora CoreOS on Exoscale
# Set the version and calcuate the checksum
CHECKSUM=$(md5sum $FILE | cut -d " " -f 1)
ssh core@<ip address>
coreos-installer download -d -s "${STREAM}" -p exoscale -f qcow2.xz