krebs lib.types: deprecate host.infest.{addr,port}
This commit is contained in:
parent
3384dd0a55
commit
2432695678
@ -527,7 +527,6 @@ let
|
||||
mkdir = rec {
|
||||
cores = 1;
|
||||
dc = "tv"; #dc = "cac";
|
||||
infest.addr = head nets.internet.addrs4;
|
||||
nets = rec {
|
||||
internet = {
|
||||
addrs4 = ["104.233.84.215"];
|
||||
@ -614,7 +613,6 @@ let
|
||||
rmdir = rec {
|
||||
cores = 1;
|
||||
dc = "tv"; #dc = "cac";
|
||||
infest.addr = head nets.internet.addrs4;
|
||||
nets = rec {
|
||||
internet = {
|
||||
addrs4 = ["104.233.84.70"];
|
||||
|
@ -31,10 +31,13 @@ types // rec {
|
||||
infest = {
|
||||
addr = mkOption {
|
||||
type = str;
|
||||
apply = trace "Obsolete option `krebs.hosts.${config.name}.infest.addr' is used. It was replaced by the `target' argument to `make` or `get`. See Makefile for more information.";
|
||||
};
|
||||
port = mkOption {
|
||||
type = int;
|
||||
default = 22;
|
||||
# TODO replacement: allow target with port, SSH-style: [lol]:666
|
||||
apply = trace "Obsolete option `krebs.hosts.${config.name}.infest.port' is used. It's gone without replacement.";
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user