Verified Commit 4a06059d authored by Karel Koci's avatar Karel Koci 🤘 Committed by Josef Schlehofer
Browse files

lists/bootstrap: add ability to optionally include initial-config

The initial-config package looks for configuration on connected drives
and loads it. It is intended as a way to allow initial configuration
without having to connect using ethernet cable.
parent b4fba092
......@@ -16,6 +16,8 @@ This script expects following variables to be possibly defined in environment:
standard medkits
BOOTSTRAP_TESTKEY: if defined non-empty then test kyes are included in
installation
BOOTSTRAP_INITIAL_CONFIG: if defined non-empty then package initial-config is
included.
]]
-- Sanity checks
......@@ -101,3 +103,9 @@ local env_testkey = os.getenv('BOOTSTRAP_TESTKEY')
if env_testkey and env_testkey ~= "" then
Install('cznic-repo-keys-test')
end
local env_testkey = os.getenv('BOOTSTRAP_INITIAL_CONFIG')
if env_testkey and env_testkey ~= "" then
Install('initial-config')
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment