Skip to content

Commit

Permalink
update template to support updates and reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
GwendalLaurent committed Oct 11, 2024
1 parent 3dd6d05 commit 4672f97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions priv/templates/common/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
{{/epmd}}
{{#grisp_io}}
{grisp_updater_grisp2, load},
sasl
{{/grisp_io}}
{{{name}}}
]}
Expand Down
2 changes: 2 additions & 0 deletions priv/templates/network/grisp.ini.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
[erlang]
args = erl.rtems -C multi_time_warp -- -mode embedded -home . -pa . -root {{release_name}} -bindir {{release_name}}/erts-{{erts_vsn}}/bin -boot {{release_name}}/releases/{{release_version}}/start -config {{release_name}}/releases/{{release_version}}/sys.config <%#network%>-kernel inetrc "./erl_inetrc"<%/network%> <%#epmd%>-internal_epmd epmd_sup -sname {{release_name}} -setcookie <%={{ }}=%> {{{cookie}}} {{=<% %>=}} <%/epmd%>
shell = erlang
on_exit = reboot
on_crash = reboot

[network]
ip_self=dhcp
Expand Down

0 comments on commit 4672f97

Please sign in to comment.