Am 12.01.2016 um 21:43 schrieb Lennart Poettering: > On Tue, 12.01.16 21:23, Stefan Schweter ([email protected]) wrote: > >> Dear systemd-users, >> >> e.g. when a container name includes a minus sign like: >> >> ls -l /var/lib/machines >> insgesamt 4 >> drwxr-xr-x 22 root root 4096 12. Jan 21:14 host.cis.uni-muenchen.de >> >> Enabling the systemd-nspawn service with: >> >> systemctl enable [email protected] >> Created symlink from >> /etc/systemd/system/machines.target.wants/[email protected] >> to /usr/lib/systemd/system/[email protected]. > > Yeah, the way systemd encodes slashes in unit names is by converting > them to dots. Thus when you actually want a dash you need to escape > it. The tool systemd-escape can help you with getting this right from > shell scripts. See the last example in the systemd-escape(1) man page > For details. >
Hi Lennart, thanks for your explanation. I tried registering the container with the machinectl command and enabling + starting the container works without any problems! Thanks again + regards, Stefan _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
