mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7376 passwd_server attempts to start but terminates with the exit code 137
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
This commit is contained in:
parent
190bd38026
commit
29911dd2e1
@ -16,7 +16,10 @@
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
ips=$(ip addr show dev eth0 | grep inet | grep eth0 | awk '{print $2}' ); echo $ips
|
||||
#we have intentionally split the ip gathering command into two.
|
||||
#This was done to avoid getting a SIGPIPE during certain load conditions.
|
||||
ipInfo=$(ip addr show dev eth0 | grep inet | grep eth0 )
|
||||
ips=$(echo "$ipInfo" | awk '{print $2}' ); echo $ips
|
||||
for ip in $ips; do
|
||||
addr=$(echo $ip | awk -F'/' '{print $1}')
|
||||
/opt/cloud/bin/passwd_server_ip $addr >> /var/log/cloud.log 2>&1 &
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user