mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-03 03:50:08 +00:00
refine makehost_n_r for task 604 again (#6037)
This commit is contained in:
parent
8a0abf9565
commit
44dff259ee
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user