Skip to content

Commit

Permalink
Debug nerves_config_ec2
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Jul 23, 2018
1 parent 0db894b commit db08d0a
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
# is restricted to this project.
use Mix.Config

# # Add the RingLogger backend. This removes the default :console backend.
# config :logger, backends: [RingLogger]

# Customize non-Elixir parts of the firmware. See
# https://hexdocs.pm/nerves/advanced-configuration.html for details.
config :nerves, :firmware, rootfs_overlay: "rootfs_overlay"
Expand All @@ -13,13 +16,16 @@ config :nerves, :firmware, rootfs_overlay: "rootfs_overlay"
# docs for separating out critical OTP applications such as those
# involved with firmware updates.
config :shoehorn,
init: [:nerves_runtime, :nerves_config_ec2, :nerves_init_gadget],
init: [:nerves_runtime, :nerves_init_gadget, :nerves_config_ec2],
app: Mix.Project.config()[:app]
# config :shoehorn,
# init: [:nerves_runtime, :nerves_init_gadget],
# app: Mix.Project.config()[:app]

# config :nerves_firmware_ssh,
# authorized_keys: [
# File.read!(Path.join(System.user_home!, ".ssh/authorized_keys"))
# ]
config :nerves_firmware_ssh,
authorized_keys: [
File.read!(Path.join(System.user_home!, ".ssh/authorized_keys"))
]

config :nerves_init_gadget,
ifname: "eth0",
Expand Down

0 comments on commit db08d0a

Please sign in to comment.