keepalived: use ints.between
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
This commit is contained in:
@@ -22,7 +22,7 @@ with lib;
|
||||
};
|
||||
|
||||
virtualRouterId = mkOption {
|
||||
type = types.int;
|
||||
type = types.ints.between 1 255;
|
||||
description = lib.mdDoc ''
|
||||
Arbitrary unique number 1..255. Used to differentiate multiple instances
|
||||
of vrrpd running on the same NIC (and hence same socket).
|
||||
|
||||
Reference in New Issue
Block a user