We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5715144 + afa13bf commit c787ba6Copy full SHA for c787ba6
scripts/setup-pvs-proxy-rules
@@ -51,15 +51,15 @@ fi
51
# The VIF UUID is maintained across the migration.
52
# Furthermore, a proxied VIF can be in only one PVS site at once.
53
pvs_prefix="/xapi/pvs-proxy"
54
-started=false
+started="false"
55
for path in $($XSLIST -p "$pvs_prefix"); do
56
PVS_PROXY_STATE=$($XSREAD "$path/$VIF/state")
57
if [ $? -eq 0 ] && [ "$PVS_PROXY_STATE" = "started" ]; then
58
- started=true
+ started="true"
59
break
60
fi
61
done
62
-if [ ! started ]; then
+if [ "$started" = "false" ]; then
63
handle_error "PVS proxy daemon not configured for this proxy - not installing OVS rules."
64
65
0 commit comments