Skip to content

Instantly share code, notes, and snippets.

@gowatana
gowatana / NotSupported_H5ClientHacks-Xmas.sh
Created Dec 1, 2018 — forked from lamw/gist:a744df89a5b8aab18c2b69af9399565b
Add custom color to vSphere HTML5 UI Header/Footer in vSphere 6.7 Update 1
View NotSupported_H5ClientHacks-Xmas.sh
NEW_HEADER_HEX_COLOR=006400
NEW_BOTTOM_HEX_COLOR=8b0000
BACKUP_FILE=/usr/lib/vmware-vsphere-ui/plugin-packages/root-app/plugins/h5ngc.war.bak
if [ ! -e ${BACKUP_FILE} ]; then
cp /usr/lib/vmware-vsphere-ui/plugin-packages/root-app/plugins/h5ngc.war ${BACKUP_FILE}
fi
mkdir -p /root/work
cd /root/work
cp /usr/lib/vmware-vsphere-ui/plugin-packages/root-app/plugins/h5ngc.war .
unzip h5ngc.war