Skip to content

Commit

Permalink
nixos-container: allow _ in container name
Browse files Browse the repository at this point in the history
fixes #15089
  • Loading branch information
globin committed Mar 22, 2017
1 parent 9b9416c commit 3ac02df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ sub showHelp {
}

my $containerName = $ARGV[1] or die "$0: no container name specified\n";
$containerName =~ /^[a-zA-Z0-9\-]+$/ or die "$0: invalid container name\n";
$containerName =~ /^[a-zA-Z0-9_-]+$/ or die "$0: invalid container name\n";

sub writeNixOSConfig {
my ($nixosConfigFile) = @_;
Expand Down

0 comments on commit 3ac02df

Please sign in to comment.