From Fedora Project Wiki

Revision as of 02:59, 6 April 2022 by Dustymabe (talk | contribs) (Dustymabe moved page QA:Testcase debugging toolbox to QA:Testcase CoreOS debugging toolbox: Add CoreOS to make page title more conformant)

Description

Provision Fedora CoreOS and configure fedora-toolbox:35 .

Setup

  1. Download and verify the latest FCOS next image (pick the right image for your environment).
  2. Toolbox can be installed on Fedora with the following commands [1]
    * Fedora Workstation (or any package-based version of Fedora) - $ sudo dnf install toolbox  
    * Fedora Silverblue - Toolbox is preinstalled on Fedora Silverblue 30 or newer.
      Older versions can use the command $ rpm-ostree install toolbox 

Note: Use the latest image registry.fedoraproject.org/fedora-toolbox:35

How to test

  1. Create an Ignition file.
  2. Launch your Fedora CoreOS system using this Ignition file. See the Quickstart and the provisioning docs for a guide how to launch FCOS in most environments (bare metal, virtual, cloud, etc).
  3. Debugging with Toolbox

Expected Results

  1. You can SSH successfully into your FCOS system.
  2. Once inside the toolbox, you can access common command line tools, and install new ones using a package manager (e.g., DNF on Fedora).
  3. Once done with your container, you can exit the container and then remove it from the host with the command. toolbox rm --force fedora-toolbox-35
  4. The linked documentation makes sense, nothing is obviously missing, and the instructions are clear.