Closed
Description
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
- Create pod file
- debug file
- 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