The targetHost property defaults to the hostName of the system if not defined

svn path=/nixos/trunk/; revision=25057
This commit is contained in:
Sander van der Burg 2010-12-10 15:39:41 +00:00
parent e51fcac73c
commit b3c4444c26

View File

@ -7,6 +7,7 @@ with pkgs.lib;
deployment = {
targetHost = mkOption {
default = config.networking.hostName;
description = ''
This option specifies a hostname or IP address which can be used by nixos-deploy-network
to execute remote deployment operations.