From 7f59e2b84488243fa6b646f0b4bbb23ce2393cee Mon Sep 17 00:00:00 2001 From: Nicolas.Schodet Date: Sun, 7 Apr 2019 14:22:19 +0000 Subject: Hostname is not set in a systemd container --- doc/todo/Hostname_is_not_set_in_a_systemd_container.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/todo/Hostname_is_not_set_in_a_systemd_container.mdwn diff --git a/doc/todo/Hostname_is_not_set_in_a_systemd_container.mdwn b/doc/todo/Hostname_is_not_set_in_a_systemd_container.mdwn new file mode 100644 index 00000000..e88dcac6 --- /dev/null +++ b/doc/todo/Hostname_is_not_set_in_a_systemd_container.mdwn @@ -0,0 +1,10 @@ +Hello, + +I use propellor to deploy systemd containers. I have a problem with +`Hostname.setTo`, it sets the hostname in `/etc/hostname`, but the container +hostname is not set until I restart the container. + +Note: I use `Systemd.containerCfg "network-bridge=br0"`, so the container has +a different network stack. + +I suppose that the `check (not <$> inChroot)` might be the problem here. -- cgit v1.2.3