We actually have that, kinda. It asks you 500 questions and then you are done
Here is how such a session would start, just for fun. This is how engineers create interfaces
# foreman-installer -i
Resetting puppet server version param...
Welcome to the Satellite installer!
-----------------------------------
This wizard will gather all required information. You can change any parameter
to your needs.
Ready to start? (y/n)
y
Main Config Menu
1. [✓] Configure certs
2. [✓] Configure foreman
3. [✓] Configure foreman_cli
4. [✗] Configure foreman_compute_ec2
5. [✗] Configure foreman_compute_gce
6. [✗] Configure foreman_compute_libvirt
7. [✗] Configure foreman_compute_openstack
8. [✗] Configure foreman_compute_ovirt
9. [✗] Configure foreman_compute_rackspace
10. [✗] Configure foreman_compute_vmware
11. [✓] Configure foreman_plugin_ansible
12. [✗] Configure foreman_plugin_bootdisk
13. [✓] Configure foreman_plugin_discovery
14. [✓] Configure foreman_plugin_docker
15. [✓] Configure foreman_plugin_hooks
16. [✓] Configure foreman_plugin_openscap
17. [✓] Configure foreman_plugin_remote_execution
18. [✓] Configure foreman_plugin_tasks
19. [✓] Configure foreman_plugin_templates
20. [✓] Configure foreman_proxy
21. [✓] Configure foreman_proxy_content
22. [✓] Configure foreman_proxy_plugin_ansible
23. [✗] Configure foreman_proxy_plugin_dhcp_infoblox
24. [✗] Configure foreman_proxy_plugin_dhcp_remote_isc
25. [✓] Configure foreman_proxy_plugin_discovery
26. [✗] Configure foreman_proxy_plugin_dns_infoblox
27. [✓] Configure foreman_proxy_plugin_openscap
28. [✓] Configure foreman_proxy_plugin_pulp
29. [✓] Configure foreman_proxy_plugin_remote_execution_ssh
30. [✓] Configure katello
31. [✓] Configure puppet
32. Display current config
33. Save and run
34. Cancel run without Saving
Choose an option from the menu... 2
Module foreman configuration
1. Enable/disable foreman module, current value: true
2. Set admin_username, current value: "admin"
3. Set admin_password, current value: "changeme"
4. Set admin_first_name, current value: UNDEF
5. Set admin_last_name, current value: UNDEF
6. Set admin_email, current value: UNDEF
7. Set db_manage, current value: true
8. Set db_type, current value: "postgresql"
9. Set email_delivery_method, current value: UNDEF
10. Set email_smtp_address, current value: UNDEF
11. Set email_smtp_port, current value: 25
12. Set email_smtp_domain, current value: UNDEF
13. Set email_smtp_authentication, current value: "none"
14. Set email_smtp_user_name, current value: UNDEF
15. Set email_smtp_password, current value: UNDEF
16. Set locations_enabled, current value: true
17. Set organizations_enabled, current value: true
18. Set initial_organization, current value: "MyOrg"
19. Set initial_location, current value: "MyLoc"
20. Set ipa_authentication, current value: false
21. Set puppetrun, current value: false
22. Configure Advanced parameters
23. Reset a parameter to its default value
24. Back to main menu
Choose an option from the menu... 22
Group Advanced parameters (of module foreman)
1. Set foreman_url, current value: "https://fivesix.ipsix.lan"
2. Set unattended, current value: true
3. Set unattended_url, current value: UNDEF
4. Set authentication, current value: true
5. Set passenger, current value: true
6. Set passenger_ruby, current value: "/usr/bin/tfm-ruby"
7. Set passenger_ruby_package, current value: "tfm-rubygem-passenger-native"
8. Set plugin_prefix, current value: "tfm-rubygem-foreman_"
9. Set use_vhost, current value: true
10. Set servername, current value: "fivesix.ipsix.lan"
11. Set serveraliases, current value: ["foreman"]
12. Set ssl, current value: true
13. Set custom_repo, current value: true
14. Set repo, current value: "1.18"
15. Set configure_epel_repo, current value: false
16. Set configure_scl_repo, current value: false
17. Set selinux, current value: UNDEF
18. Set gpgcheck, current value: true
19. Set version, current value: "present"
20. Set plugin_version, current value: "present"
21. Set db_adapter, current value: UNDEF
22. Set db_host, current value: UNDEF
23. Set db_port, current value: UNDEF
24. Set db_database, current value: UNDEF
25. Set db_username, current value: "foreman"
26. Set db_password, current value: "ErjLWsWz4Qkx9bneuf5rSPGnp2ScUwz4"
27. Set db_sslmode, current value: UNDEF
28. Set db_root_cert, current value: UNDEF
29. Set db_pool, current value: 5
30. Set db_manage_rake, current value: true
31. Set app_root, current value: "/usr/share/foreman"
32. Set manage_user, current value: true
33. Set user, current value: "foreman"
34. Set group, current value: "foreman"
35. Set rails_env, current value: "production"
36. Set user_groups, current value: ["puppet"]
37. Set passenger_interface, current value: UNDEF
38. Set passenger_prestart, current value: true
39. Set passenger_min_instances, current value: 1
40. Set passenger_start_timeout, current value: 90
41. Set vhost_priority, current value: "05"
42. Set server_port, current value: 80
43. Set server_ssl_port, current value: 443
44. Set server_ssl_ca, current value:
"/etc/pki/katello/certs/katello-default-ca.crt"
45. Set server_ssl_chain, current value:
"/etc/pki/katello/certs/katello-server-ca.crt"
46. Set server_ssl_cert, current value:
"/etc/pki/katello/certs/katello-apache.crt"
47. Set server_ssl_certs_dir, current value: ""
48. Set server_ssl_key, current value:
"/etc/pki/katello/private/katello-apache.key"
49. Set server_ssl_crl, current value: ""
50. Set server_ssl_protocol, current value: UNDEF
51. Set client_ssl_ca, current value: "/etc/foreman/proxy_ca.pem"
52. Set client_ssl_cert, current value: "/etc/foreman/client_cert.pem"
53. Set client_ssl_key, current value: "/etc/foreman/client_key.pem"
54. Set keepalive, current value: true
55. Set max_keepalive_requests, current value: 10000
56. Set keepalive_timeout, current value: 5
57. Set oauth_active, current value: true
58. Set oauth_map_users, current value: false
59. Set oauth_consumer_key, current value: "wKHh22dY4qMzd5KPvPAMJAhmUBPcHk3X"
60. Set oauth_consumer_secret, current value: "S8etdxcYNPEADhyLw8yTLzGm5SoqKwjF"
61. Set http_keytab, current value: "/etc/httpd/conf/http.keytab"
62. Set pam_service, current value: "foreman"
63. Set ipa_manage_sssd, current value: true
64. Set websockets_encrypt, current value: true
65. Set websockets_ssl_key, current value:
"/etc/pki/katello/private/katello-apache.key"
66. Set websockets_ssl_cert, current value:
"/etc/pki/katello/certs/katello-apache.crt"
67. Set logging_level, current value: "info"
68. Set logging_type, current value: "file"
69. Set logging_layout, current value: "pattern"
70. Set loggers, current value: {}
71. Set telemetry_prefix, current value: "fm_rails"
… etc etc you get the idea
Those passwords - don’t worry the VM is dead already. Just a testing machine.