8000 [Quadlet .Pod] Hostname unsupported Key · Issue #25639 · containers/podman · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Quadlet .Pod] Hostname unsupported Key #25639
Closed
@DevDorrejo

Description

@DevDorrejo

Issue Description

Podman quadlet not recognize some basics keys like (hostname)

/usr/lib/systemd/system-generators/podman-system-generator --user --dryrun
converting "thepod.pod": unsupported key 'HostName' in group 'Pod' in /home/podman/.config/containers/systemd/thepod.pod

thepod.pod

[Unit]
Description=${POD_NAME} POD

[Pod]
PodName=${POD_NAME}
ServiceName=${POD_NAME}
PublishPort=127.0.0.1:8080:8080
PublishPort=127.0.0.1:8443:8443
Network=${NETWORK}
HostName=${CONT_NAME}.local

# Volúmenes
Volume=db:/data/postgresql
Volume=data:/mnt/persistent

[Install]
WantedBy=default.target

Steps to reproduce the issue

Steps to reproduce the issue

  1. Create pod file
  2. debug file
  3. got error

Describe the results you received

converting "thepod.pod": unsupported key 'HostName' in group 'Pod' in /home/podman/.config/containers/systemd/thepod.pod

The result said that the quadlet not recognize a key that is valid when using the command podman pod create

Describe the results you expected

Generate a pod with hostname

podman info output

If you are unable to run podman info for any reason, please provide the podman version, operating system and its version and the architecture you are running.
- Podman Version 5.4.1
- openSUSe Leap 15.6/Tumbleweed
- amd64

Podman in a container

No

Privileged Or Rootless

Rootless

Upstream Latest Release

Yes

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

Metadata

Metadata

Assignees

Labels

Good First IssueThis issue would be a good issue for a first time contributor to undertake.kind/featureCategorizes issue or PR as related to a new feature.quadlet

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0