Changed when old directory entry is removed from xCAT.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12553 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
403add1822
commit
7f995d604a
@ -1989,9 +1989,6 @@ sub makeVM {
|
||||
|
||||
# SCP file over to zHCP
|
||||
$out = `scp $userEntry $target:$userEntry`;
|
||||
|
||||
# Remove user entry
|
||||
$out = `rm $userEntry`;
|
||||
|
||||
# Create virtual server
|
||||
$out = `ssh $hcp "$::DIR/createvs $userId $userEntry"`;
|
||||
@ -2015,8 +2012,10 @@ sub makeVM {
|
||||
# Remove user entry file (on zHCP)
|
||||
$out = `ssh -o ConnectTimeout=5 $hcp "rm $userEntry"`;
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
# Remove user entry on xCAT
|
||||
$out = `rm $userEntry`;
|
||||
} else {
|
||||
|
||||
# Create NOLOG virtual server
|
||||
$out = `ssh $hcp "$::DIR/createvs $userId"`;
|
||||
|
Loading…
Reference in New Issue
Block a user