3d84e2a type root password faster on ostree installs

Authored and Committed by adamwill 7 years ago
    type root password faster on ostree installs
    
    Summary:
    Since we started using `type_very_safely` for typing the root
    password, we starting hitting a race issue. If we complete the
    root password spoke so slowly that the software deployment
    process completes in the meantime, anaconda will wait until we
    complete the spoke then immediately flip to the 'post-install
    configuration' step, at which point access to the USER CREATION
    spoke is blocked.
    
    We don't hit this case on regular RPM installs or live installs
    as the deployment phase still takes a while for both of those,
    but we are sometimes hitting it for the Atomic ostree install
    image, as the software deployment phase is pretty fast there.
    We *could* just not bother creating a user and testing we can
    log in as a user for that test, but I don't like that approach,
    we *should* be testing that user creation and login works OK
    for ostree installs. So instead, let's just type the root
    password a bit less safely for ostree installs; this will be
    more vulnerable to typing errors but hopefully will avoid the
    race problem.
    
    Test Plan:
    Run a few Atomic installs, see if they hit the race.
    Might need to run other tests at the same time, and you may not
    be able to hit it, this is obviously dependent on the I/O of
    the worker host...
    
    Reviewers: jskladan, garretraziel
    
    Reviewed By: garretraziel
    
    Subscribers: tflink
    
    Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D1022