[Ovirt-devel] [PATCH node-image] Set "linux" as the terminal type.
Darryl L. Pierce
dpierce at redhat.com
Fri Feb 6 22:09:05 UTC 2009
Creates /home/.bash_profile and exports the TERM environment variable.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
common-post.ks | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/common-post.ks b/common-post.ks
index 24f43b5..e8efa1d 100644
--- a/common-post.ks
+++ b/common-post.ks
@@ -93,3 +93,10 @@ else
echo "Building in production mode, locking root account"
passwd -l root
fi
+
+# set the bash environment for root
+cat > /root/.bash_profile <<EOF
+TERM=linux
+
+export $TERM
+EOF
--
1.6.0.6
More information about the ovirt-devel
mailing list