Skip to content

Commit 34fee2d

Browse files
committed
Don't set the hostname pattern in the config
This repeats what's already being set in the official Nerves systems. When using this project on unofficial systems, it is a little weird to override the hostnames. Since examples are nice, this changes it to set the time on boot. This gets the date a little closer to the real date and avoids all of the 1970 time logs on init.
1 parent ea8c7dd commit 34fee2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/target.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ config :shoehorn, init: [:nerves_runtime, :nerves_pack]
1010
# https://github.com/nerves-project/erlinit/ for more information on
1111
# configuring erlinit.
1212

13-
config :nerves, :erlinit, hostname_pattern: "nerves-%s"
13+
config :nerves, :erlinit, update_clock: true
1414

1515
# Use Ringlogger as the logger backend and remove :console.
1616
# See https://hexdocs.pm/ring_logger/readme.html for more information on

0 commit comments

Comments
 (0)