mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Merge pull request #326 from saleyn/hostname_var
Add hostname variable to reltool overlay templates
This commit is contained in:
commit
b39febd25d
1 changed files with 2 additions and 1 deletions
|
@ -109,7 +109,8 @@ process_overlay(Config, ReltoolConfig) ->
|
||||||
OverlayVars0 =
|
OverlayVars0 =
|
||||||
dict:from_list([{erts_vsn, "erts-" ++ erlang:system_info(version)},
|
dict:from_list([{erts_vsn, "erts-" ++ erlang:system_info(version)},
|
||||||
{rel_vsn, BootRelVsn},
|
{rel_vsn, BootRelVsn},
|
||||||
{target_dir, TargetDir}]),
|
{target_dir, TargetDir},
|
||||||
|
{hostname, net_adm:localhost()}]),
|
||||||
|
|
||||||
%% Load up any variables specified by overlay_vars
|
%% Load up any variables specified by overlay_vars
|
||||||
OverlayVars1 = overlay_vars(Config, OverlayVars0, ReltoolConfig),
|
OverlayVars1 = overlay_vars(Config, OverlayVars0, ReltoolConfig),
|
||||||
|
|
Loading…
Reference in a new issue