krebszones: make OVH_ZONE_CONFIG configurable
This commit is contained in:
parent
f70cfd8f1f
commit
f2160466d1
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
pkgs.writeDashBin "krebszones" ''
|
pkgs.writeDashBin "krebszones" ''
|
||||||
set -efu
|
set -efu
|
||||||
export OVH_ZONE_CONFIG=$HOME/.secrets/krebs/ovh-zone.conf
|
export OVH_ZONE_CONFIG=''${OVH_ZONE_CONFIG:-$HOME/.secrets/krebs/ovh-zone.conf}
|
||||||
case $* in
|
case $* in
|
||||||
import)
|
import)
|
||||||
set -- import /etc/zones/krebsco.de krebsco.de
|
set -- import /etc/zones/krebsco.de krebsco.de
|
||||||
|
Loading…
Reference in New Issue
Block a user