Skip to content

hostname without container-id #3

@tofkamp

Description

@tofkamp

When I create a new container, the hostname ends with the container number. Some people will find this handy, but it looks strange in the DNS, and other references. And proxmox knows the number already.
In the shape file there is a cloudinit line setting the hostname: "hostname: deb-lxc"
But the name is not deb-lxc but deb-lxc-109.
Where can I change the format of the hostname, so it won't add the container number ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions