From Fedora Project Wiki

No edit summary
Line 6: Line 6:


|actions=
|actions=
# [https://docs.fedoraproject.org/en-US/fedora-coreos/producing-ign/ Create an Ignition file]. You can use the simplest example available.
# [https://docs.fedoraproject.org/en-US/fedora-coreos/producing-ign/ Create an Ignition config]. You can use the simplest example available which includes your SSH key.
# Follow [https://docs.fedoraproject.org/en-US/fedora-coreos/getting-started/#_launching_with_qemu_or_libvirt Launching with QEMU or libvirt] documentation to start up a virtual machine.
# Follow the documentation for [https://docs.fedoraproject.org/en-US/fedora-coreos/getting-started/#_launching_with_qemu_or_libvirt launching with QEMU or libvirt] to start up a virtual machine.
# Log in to your new FCOS system (with the username and password configured in your Ignition file) using the serial console (you're automatically connected to it when you run the installation through `qemu-kvm` or `virt-install`).
# You should be able to see the IP address printed at the login prompt of the serial console.
# See the IP address printed at the login prompt (alternatively, you can also find it in the `ip address` command output).
# SSH into the machine using `ssh username@ipaddress` (replace ''username'' and ''ipaddress'' with actual values).
# SSH into the machine using `ssh username@ipaddress` (replace ''username'' and ''ipaddress'' with actual values).


|results=
|results=
# The system runs in a virtual machine according to the instructions.
# The system runs in a virtual machine according to the instructions.
# You can connect through serial console and SSH.
# You can read the IP address of the machine from the serial console.
$ You can connect to the machine via SSH.
# The linked documentation is clear, all steps are understandable, and nothing important is missing from it.
# The linked documentation is clear, all steps are understandable, and nothing important is missing from it.
}}
}}


[[Category:CoreOS Test Cases]]
[[Category:CoreOS Test Cases]]

Revision as of 20:47, 4 June 2020

Description

Install Fedora CoreOS as a virtual machine using the next image.

Setup

  1. Download and verify the latest FCOS next image for QEMU
  2. Familiarize yourself with FCOS provisioning philosophy, i.e. the role of a an Ignition file during system installation.

How to test

  1. Create an Ignition config. You can use the simplest example available which includes your SSH key.
  2. Follow the documentation for launching with QEMU or libvirt to start up a virtual machine.
  3. You should be able to see the IP address printed at the login prompt of the serial console.
  4. SSH into the machine using ssh username@ipaddress (replace username and ipaddress with actual values).

Expected Results

  1. The system runs in a virtual machine according to the instructions.
  2. You can read the IP address of the machine from the serial console.

$ You can connect to the machine via SSH.

  1. The linked documentation is clear, all steps are understandable, and nothing important is missing from it.