[Users] [PATCH 2/6] templates/fedora/config: whitespace cleanups

Kir Kolyshkin kir at openvz.org
Wed Dec 17 15:24:56 EST 2008


Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 templates/fedora/config/install-post |   12 ++++++------
 templates/fedora/config/vzpkg.conf   |    2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/templates/fedora/config/install-post b/templates/fedora/config/install-post
index 14c17cc..59e002d 100755
--- a/templates/fedora/config/install-post
+++ b/templates/fedora/config/install-post
@@ -1,10 +1,10 @@
 #!/bin/bash
 # Post-setup script for CentOS OS template.
- 
+
 test -n "$DEBUG_EXEC" && set -o xtrace
 set -o errexit
 set -o nounset
- 
+
 read_vzpkg_conf
 
 if test -n "$YUM_REPO"; then
@@ -16,7 +16,7 @@ fi
 
 # Set the same timezone as for host system
 test -f /etc/localtime && cp -fp /etc/localtime $VE_ROOT/etc/localtime
- 
+
 # Turn unneeded services off
 # Add the following "unneeded" services well if you managed to install it:
 #   gpm
@@ -25,7 +25,7 @@ OFF_SERVICES="anacron portmap netfs"
 for S in $OFF_SERVICES; do
 	rm -f $VE_ROOT/etc/rc.d/rc?.d/$S
 done
-                                                                                
+
 # Turn needed services on
 ON_SERVICES="network httpd iptables xinetd"
 for S in $ON_SERVICES; do
@@ -33,7 +33,7 @@ for S in $ON_SERVICES; do
 		$VZCTL exec2 $VEID "/sbin/chkconfig $S on >/dev/null 2>&1"
 	fi
 done
-                                                                                
+
 # Convert system to shadow password files
 $VZCTL exec2 $VEID /usr/sbin/pwconv
 
@@ -71,7 +71,7 @@ fi
 
 # Do not try to unload iptables modules
 if test -f $VE_ROOT/etc/sysconfig/iptables-config; then
-	sed -i -e 's/^IPTABLES_MODULES_UNLOAD.*/IPTABLES_MODULES_UNLOAD=\"no\"/' $VE_ROOT/etc/sysconfig/iptables-config 
+	sed -i -e 's/^IPTABLES_MODULES_UNLOAD.*/IPTABLES_MODULES_UNLOAD=\"no\"/' $VE_ROOT/etc/sysconfig/iptables-config
 fi
 
 # Disable nmbd in Samba (does not work in VPS)
diff --git a/templates/fedora/config/vzpkg.conf b/templates/fedora/config/vzpkg.conf
index 96cdf6b..739a401 100644
--- a/templates/fedora/config/vzpkg.conf
+++ b/templates/fedora/config/vzpkg.conf
@@ -43,7 +43,7 @@ enabled=0
 gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
 
-[fedora-updates-cached] 
+[fedora-updates-cached]
 name=Fedora \$releasever - \$basearch - Updates (cached)
 baseurl=http://$VZPKG_CACHE_HOST/fedora/updates/\$releasever/\$basearch/
 enabled=1
-- 
1.5.6.5



More information about the Users mailing list