[node-patches] Change in ovirt-node[ovirt-3.6]: Add console.size, and shorten the password message on a smal...

fabiand at redhat.com fabiand at redhat.com
Mon Nov 23 17:13:18 UTC 2015


Fabian Deutsch has submitted this change and it was merged.

Change subject: Add console.size, and shorten the password message on a small term
......................................................................


Add console.size, and shorten the password message on a small term

If we don't have enough rows, keep the message shorter, but still
warn that it's a weak password.

Also add a convenience function to check the rows/columns of the
terminal in case it's useful anywhere else.

Change-Id: Ifa580235f545e41dd25236b5dca2e6310b68ccca
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1214611
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M src/ovirt/node/utils/console.py
M src/ovirt/node/utils/security.py
2 files changed, 30 insertions(+), 7 deletions(-)



-- 
To view, visit https://gerrit.ovirt.org/49028
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifa580235f545e41dd25236b5dca2e6310b68ccca
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.6
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list