vmware / photon-os-installer

Photon OS Installer
Other
12 stars 18 forks source link

installer: Add support for insecure_installation #5

Closed prashant1221 closed 3 years ago

prashant1221 commented 3 years ago

This patch adds kernel command line argument: 'insecure_installation' as a flag that user can set to 1 to allow some operations that aren't normally allowed due to security concerns. This is disabled by default and it is up to the user to the ensure security when this options is enabled.

This patch also disables by default download of ks_config file from non-HTTPS sources.

Following cases can arise: i) insecure_installation=1 passed as kernel param in cmdline insecure_installation key if present in ks_config ignored