mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-10-10 01:18:10 +00:00
refine makehost_n_r for task 604 again (#6037)
This commit is contained in:
@@ -154,7 +154,7 @@ cmd:makehosts
|
||||
check:rc==0
|
||||
cmd:#!/bin/bash
|
||||
file="/etc/hosts"
|
||||
if (! grep "s01" $file 2>&1); then
|
||||
if (! grep "s01 " $file 2>&1 ) || (! grep "s01r1b01" $file 2>&1 ); then
|
||||
echo "makehosts failed, try XCATBYPASS=YES makehosts again"
|
||||
XCATBYPASS=YES makehosts
|
||||
if (! grep "s01" $file 2>&1); then
|
||||
|
Reference in New Issue
Block a user