mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
Merge pull request #3949 from samveen/minor_fix
xHRM: fix minor code bug
This commit is contained in:
commit
e1fdfcb850
@ -265,7 +265,7 @@ elif [ "bridgeprereq" = "$1" ]; then
|
||||
nwdir="/etc/network/interfaces.d"
|
||||
isDebian=1
|
||||
getcap /usr/bin/qemu-system-x86_64 | grep cap_net_admin
|
||||
if [ $? ne 0 ];then
|
||||
if [ $? -ne 0 ];then
|
||||
setcap cap_net_admin=ei /usr/bin/qemu-system-x86_64
|
||||
fi
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user