plus3it / plus3it/spel

The `spel_amigenfstype` user-variable is not fully implemented

Open
#529 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
105
Forks
63
PR merge metrics
No merged PRs in 30d

Description

Expected behavior

Setting a value for spel_amigenfstype results in the produced-AMI's root-filesystems all be formatted with the selected fstype

Actual behavior

While the spel_amigenfstype user-variable is referenced in the AMI-builders for EL8 (minimal-centos-8-hvm and minimal-rhel-8-hvm), they are:

  • Not actually defined in the user-variable definition-section
  • Not referenced in any of the other builders.
Suggestions for fix
  1. Add the spel_amigenfstype variable-declare (likely with default value of ext4) to the user-variables section
  2. Ensure:
    "SPEL_AMIGENFSTYPE={{ user `spel_amigenfstype` }}"`
    
    is present in all of the builder-definitions

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the user-variable definition section and inspect every AMI builder, noting where spel_amigenfstype is already referenced for the EL8 builders. Confirm the variable's default and propagation across all builder definitions, then validate the Packer configuration or relevant image-build checks to ensure each produced root filesystem uses the selected fstype.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.