containers / containers/toolbox
The distribution that is reported in the container is not the one that is set in it
- Dominant language
- Go
- Stars
- 3.5k
- Forks
- 262
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 1
Description
_toolbox v. 0.3_
**Description**
Hello. The distribution that is reported in the container is not the one that is set in it.
**Expected behaviour**
The distribution that is reported in the container to be the one that is set in it.
**Actual behaviour**
The distribution that is set in the host is also the one that is reported in the container.
- On host
```
$ hostnamectl | sed -n 8p | awk '$1=$1'
Operating System: Fedora Linux 44.20260730.0 (COSMIC Atomic)
```
- On Toolbox container
_note_: container created with '`toolbox create --distro arch --release latest`'
```
$ hostnamectl | sed -n 8p | awk '$1=$1'
Operating System: Fedora Linux 44.20260730.0 (COSMIC Atomic)
```
Contributor guide
Research direction
Reproduce the issue with `toolbox create --distro arch --release latest`, then run the provided `hostnamectl` command on the host and inside the container. Trace how the distro option is handled and verify that the container reports Arch rather than the host's Fedora distribution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100