.TH erl_boot_server 3erl "kernel 5.1.1" "Ericsson AB" "Erlang Module Definition" .SH NAME erl_boot_server \- Boot server for other Erlang machines. .SH DESCRIPTION .LP This server is used to assist diskless Erlang nodes that fetch all Erlang code from another machine\&. .LP This server is used to fetch all code, including the start script, if an Erlang runtime system is started with command-line flag \fI-loader inet\fR\&\&. All hosts specified with command-line flag \fI-hosts Host\fR\& must have one instance of this server running\&. .LP This server can be started with the Kernel configuration parameter \fIstart_boot_server\fR\&\&. .LP The \fIerl_boot_server\fR\& can read regular files and files in archives\&. See \fB\fIcode(3erl)\fR\&\fR\& and \fB\fIerl_prim_loader(3erl)\fR\&\fR\& in ERTS\&. .LP .RS -4 .B Warning: .RE The support for loading code from archive files is experimental\&. It is released before it is ready to obtain early feedback\&. The file format, semantics, interfaces, and so on, can be changed in a future release\&. .SH EXPORTS .LP .nf .B add_slave(Slave) -> ok | {error, What} .br .fi .br .RS .LP Types: .RS 3 Slave = Host .br Host = atom() .br What = any() .br .RE .RE .RS .LP Adds a \fISlave\fR\& node to the list of allowed slave hosts\&. .RE .LP .nf .B delete_slave(Slave) -> ok | {error, What} .br .fi .br .RS .LP Types: .RS 3 Slave = Host .br Host = atom() .br What = any() .br .RE .RE .RS .LP Deletes a \fISlave\fR\& node from the list of allowed slave hosts\&. .RE .LP .nf .B start(Slaves) -> {ok, Pid} | {error, What} .br .fi .br .RS .LP Types: .RS 3 Slaves = [Host] .br Host = atom() .br Pid = pid() .br What = any() .br .RE .RE .RS .LP Starts the boot server\&. \fISlaves\fR\& is a list of IP addresses for hosts, which are allowed to use this server as a boot server\&. .RE .LP .nf .B start_link(Slaves) -> {ok, Pid} | {error, What} .br .fi .br .RS .LP Types: .RS 3 Slaves = [Host] .br Host = atom() .br Pid = pid() .br What = any() .br .RE .RE .RS .LP Starts the boot server and links to the caller\&. This function is used to start the server if it is included in a supervision tree\&. .RE .LP .nf .B which_slaves() -> Slaves .br .fi .br .RS .LP Types: .RS 3 Slaves = [Host] .br Host = atom() .br .RE .RE .RS .LP Returns the current list of allowed slave hosts\&. .RE .SH "SEE ALSO" .LP \fB\fIerts:init(3erl)\fR\&\fR\&, \fB\fIerts:erl_prim_loader(3erl)\fR\&\fR\&