virtual-deployment/virtualbox/pybox/consts
Bruno Muniz 07051a09aa Remove all hard-coded passwords and require it
- Additionally, add password validation function.
- Breaks Parser.py into more manageable functions.
- Changes where defaults are set (Parser.py instead of class under
/consts)

The goal is to not have any reference to a password in the code
itself, only in configuration files or README files, if strictly
necessary.

The new password validation function, besides failing fast at the
argument parser, makes sure the password will be allowed by Debian
later on the installation.

This commit is not touching any Shell script because they will
probably be removed or change in follow-up commits.

Test Plan:
PASS: Operating system password should be set to value passed via
--password

Failure Path:
PASS: Script fails fast without the parameter --password
PASS: Script fails fast if password requirements are not met

Regression:
PASS: AIO-SX install works

Story: 2005051
Task: 47960
Task: 48230

Change-Id: Ibf42b792ef825cee61cc69d1b5afa807361037b7
Signed-off-by: Bruno Muniz <bruno.muniz@encora.com>
2023-06-30 14:28:02 -03:00
..
__init__.py Python-based installer for StarlingX 2019-05-10 12:48:49 -04:00
config.ini Updating breaking config and code for basic setup 2023-05-23 15:48:15 -03:00
env.py Remove all hard-coded passwords and require it 2023-06-30 14:28:02 -03:00
networking.py Adding pylint to /virtualbox/pybox 2023-06-30 12:12:01 -03:00
node.py Adding pylint to /virtualbox/pybox 2023-06-30 12:12:01 -03:00
timeout.py Adding pylint to /virtualbox/pybox 2023-06-30 12:12:01 -03:00