From 49c627affc3d4a272570cae0b132114dda8f62eb Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file xCAT-OpenStack/postscripts/configgw --- xCAT-OpenStack/postscripts/configgw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-OpenStack/postscripts/configgw b/xCAT-OpenStack/postscripts/configgw index e2b97be77..9ca3c2815 100755 --- a/xCAT-OpenStack/postscripts/configgw +++ b/xCAT-OpenStack/postscripts/configgw @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash str_dir_name=`dirname $0` . $str_dir_name/xcatlib.sh @@ -47,7 +47,7 @@ if [ -f "/etc/debian_version" ];then debianpreconf #delete the gateway from all configuration files sed -i "s/.*gateway.*//" /etc/network/interfaces.d/* - + str_conf_file="/etc/network/interfaces.d/$str_nic_name" echo " gateway $str_gateway --" >> $str_conf_file elif [ -f "/etc/SuSE-release" ];then