Displaying 1 result from an estimated 1 matches for "8a4940a".
Did you mean:
874946a
2009 Jul 22
1
[PATCH ovirt-node-image] alias vi to vi + restorecon
...s a problem with editing a bindmounted file with vi. The file will not
retain the same selinux context due to the way vi copies files around.
Resolves rhbz#509082
---
common-post.ks | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/common-post.ks b/common-post.ks
index 8a4940a..c85be15 100644
--- a/common-post.ks
+++ b/common-post.ks
@@ -131,6 +131,11 @@ sed -i 's/node\.session\.initial_login_retry_max.*/node.session.initial_login_re
# root's bash profile
cat >> /root/.bashrc <<EOF
# aliases used for the temporary
+function mod_vi() {
+ vi $@
+ r...