This is the config from the whole installer, this should not be step
dependent, adds just and unecessarry and possible confusing level of
indirection.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
my $mailto = 'mail@example.invalid';
my $cmap;
-# Format: screen/function name => settings for that screen
-my $global_configuration = {
-
- # TODO: add all the user-provided options during the install
- # to be able to call them back if necessary
-
- hdsel => {},
- country => {
- country => $country,
- timezone => $timezone,
- keymap => $keymap,
- },
- password => {
- password => $password,
- mailto => $mailto,
- },
- ipconf => {
- hostname => $hostname,
- domain => $domain,
- },
+my $config = {
+ # TODO: add all the user-provided options for previous button
+ country => $country,
+ timezone => $timezone,
+ keymap => $keymap,
+
+ password => $password,
+ mailto => $mailto,
+
+ mngmt_nic => undef,
+ hostname => $hostname,
+ fqdn => undef,
+ ipaddress => undef,
+ netmask => undef,
+ gateway => undef,
};
# parse command line args