From 4bcc364559beb0943a725ff6be737630ee78d527 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Tue, 28 Feb 2023 14:25:39 +0000 Subject: T4967: Allow setting container hostname Ability setting container hostname This host name is used as /etc/hostname set container name host-name 'mybox' (cherry picked from commit c68d73e6720a7df2b48df17ac7b9b4c906e0294c) --- interface-definitions/container.xml.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'interface-definitions') diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in index 479f13355..4614bc892 100644 --- a/interface-definitions/container.xml.in +++ b/interface-definitions/container.xml.in @@ -113,6 +113,15 @@ Entrypoint must be ascii characters, use " and &apos for double and single quotes respectively + + + Container host name + + [A-Za-z0-9][-.A-Za-z0-9]*[A-Za-z0-9] + + Host-name must be alphanumeric and can contain hyphens + + Image name in the hub-registry -- cgit v1.2.3