English Chinese (Simplified) (zh_CN)
Alternatively, you can manually download an OpenStack image from the https://getfedora.org/coreos/download?tab=cloud_operators[download page]. Verify the download, following the instructions on that page, and decompress it.
Before provisioning an FCOS machine, you must have an Ignition configuration file containing your customizations. If you do not have one, see xref:producing-ign.adoc[Producing an Ignition File].
Create and Assign a Floating IP
Create the FCOS image in OpenStack
Downloading an OpenStack Image
Example connecting
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.
Fedora CoreOS is designed to be updated automatically, with different schedules per stream. Once you have picked the relevant stream, download, verify, and decompress the latest OpenStack image:
FILE=fedora-coreos-XX.XXXXXXXX.X.X-openstack.x86_64.qcow2
IMAGE=${FILE:0:-6} # pull off .qcow2
openstack image create --disk-format=qcow2 --min-disk=10 --min-ram=2 --file=$FILE $IMAGE
FLOATING_IP=1.1.1.1 # from just created floating IP
openstack server add floating ip $INSTANCE_NAME $FLOATING_IP
For more information on FCOS stream offerings see xref:update-streams.adoc[Update Streams].
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].
If you're uploading an `aarch64` disk image then add `--property architecture=aarch64`.
Launching a VM instance
Launching a VM instance
Monitor image creation progress by listing the image
Monitor progress of the instance creation with `openstack server show $INSTANCE_NAME`.
Next, if you'd like to SSH into the instance from outside the OpenStack environment, you can assign a public IP to the instance:
Now that you have an image created in your account you can launch a VM instance. You’ll have to specify several pieces of information in the command, such as instance flavor, network information, SSH key, etc...
openstack image list --name=$IMAGE