This server is used to assist diskless Erlang nodes which fetch all Erlang code from another machine.
This server is used to fetch all code, including the start script, if an Erlang runtime system is started with the -loader inet
command line flag.
All hosts specified with the -hosts Host
flag must have one instance of this server running.
This server can be started with the kernel
configuration parameter start_boot_server
.
start(Slaves) -> {ok, Pid} | {error, What}
Slaves = [Host]
Host = atom()
Pid = pid()
What = void()
Starts the boot server. Slaves
is a list of IP addresses for
hosts which are allowed to use this server as a boot server.
start_link(Slaves) -> {ok, Pid} | {error, What}
Slaves = [Host]
Host = atom()
Pid = pid()
What = void()
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.
add_slave(Slave) -> ok | {error, What}
Slave = Host
Host = atom()
What = void()
Adds a Slave
node to the list of allowed slave hosts.
delete_slave(Slave) -> ok | {error, What}
Slave = Host
Host = atom()
What = void()
Deletes a Slave
node from the list of allowed slave hosts.
Slaves = [Host]
Host = atom()
Returns the current list of allowed slave hosts.
init(3), erl_prim_loader(3)