From Fedora Project Wiki

Revision as of 17:48, 28 September 2022 by Mnguyen (talk | contribs) (Created page with "{{QA/Test_Case |description=Provision Fedora CoreOS debugging with Toolbox |setup= # Download and verify the latest [https://getfedora.org/coreos/download?tab=metal_virtualized&stream=next FCOS <b>next</b> image] (pick the right image for your environment). # Figure out what local timezone you'd like to configure. |actions= # [https://docs.fedoraproject.org/en-US/fedora-coreos/producing-ign/ Create an Ignition file] with an SSH key or core password hash. # Launch your...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Provision Fedora CoreOS debugging with Toolbox

Setup

  1. Download and verify the latest FCOS next image (pick the right image for your environment).
  2. Figure out what local timezone you'd like to configure.

How to test

  1. Create an Ignition file with an SSH key or core password hash.
  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. Run toolbox create to create toolbox container
  4. Run toolbox list and verify the toolbox container is created
  5. Run toolbox enter and verify you are inside the toolbox container
  6. Inside the toolbox container, run dnf install -y strace and verify the strace package gets installed by checking the output of rpm -q strace
  7. Run exit to exit the toolbox container
  8. Run toolbox rm --force <toolbox_name_from_toolbox_list>
  9. Run toolbox list and verify the toolbox container is removed

Expected Results

  1. You can SSH successfully into your FCOS system.
  2. All the toolbox commands run successfully
  3. The linked documentation makes sense, nothing is obviously missing, and the instructions are clear. Toolbox Documentation