mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Allow dashes in container names
This commit is contained in:
parent
ba88db3cd3
commit
29c469b88d
1 changed files with 3 additions and 3 deletions
|
@ -143,13 +143,13 @@ in
|
|||
config = {
|
||||
|
||||
systemd.services."container@" =
|
||||
{ description = "Container '%I'";
|
||||
{ description = "Container '%i'";
|
||||
|
||||
unitConfig.RequiresMountsFor = [ "/var/lib/containers/%I" ];
|
||||
unitConfig.RequiresMountsFor = [ "/var/lib/containers/%i" ];
|
||||
|
||||
path = [ pkgs.iproute ];
|
||||
|
||||
environment.INSTANCE = "%I";
|
||||
environment.INSTANCE = "%i";
|
||||
|
||||
script =
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue