source /etc/xensource-inventory
xe host-param-set \
- "other-config:vSwitchVersion=%{version}" uuid="$INSTALLATION_UUID"
+ "other-config:vSwitchVersion=%{version}" uuid="$INSTALLATION_UUID" ||
+ echo "Could not set vSwitchVersion config parameter"
# Ensure ovs-vswitchd.conf exists
touch /etc/ovs-vswitchd.conf
source /etc/xensource-inventory
xe host-param-remove \
param-name=other-config param-key=vSwitchVersion \
- uuid="$INSTALLATION_UUID"
+ uuid="$INSTALLATION_UUID" ||
+ echo "Could not clear vSwitchVersion config parameter."
fi
printf "\nYou MUST reboot the server now to complete the change to\n"