Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
Co-authored-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Currently, we generate a custom-format `country.dat` at build time,
which we then ship with the installer. In the live environment, this
then gets parsed (via regexes) into another format and is finally
written out as JSON for e.g. the TUI and auto-installer to consume.
Instead, skip the intermediate format completely and just generate the
final data structure as JSON at build time.
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
we should only use the exact same set of values everywhere any way
for this, a good hint that a singleton is a good fit and this is
global info.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
this is basically global state, so don't bend overt backwards in
passing it around, just access it wherever..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
could be also done in RunEnv, as one could argue both, this is
set at runtime, and this is for the ISO installer environment.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>