[Ovirt-devel] [PATCH node-image] An attempt to overcome the lack of job control WRT pinging.
Darryl L. Pierce
dpierce at redhat.com
Tue Mar 3 15:25:54 UTC 2009
Adds an alias for ping that includes an explicit limit to 3 ping
attempts.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
common-post.ks | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/common-post.ks b/common-post.ks
index fc7bbac..8ec0295 100644
--- a/common-post.ks
+++ b/common-post.ks
@@ -102,3 +102,8 @@ chmod 700 /root/.ssh
# fix iSCSI/LVM startup issue
sed -i 's/node\.session\.initial_login_retry_max.*/node.session.initial_login_retry_max = 60/' /etc/iscsi/iscsid.conf
+# root's bash profile
+cat >> /root/.bashrc <<EOF
+# aliases used for the temporary
+alias ping='ping -c 3'
+EOF
--
1.6.0.6
More information about the ovirt-devel
mailing list