This is just a simple addition to the blog post “How to customize the new vSphere 6.0 Web Client login UI?” by William Lam Take a look in his GitHub repo HERE for custom logins that have been created so far.
I’m not going to discuss how to customize the login page, but since I was enjoying my new background I decided to take it one step further.
Since Darth Vader was staring me down on my 3rd monitor I couldn’t help but hear the Emperial March in my head, so I decided to see if the web client would allow embedded sounds. Turns out, IT DOES!
Adding sound or music to the vSphere Web Client Login page
I did this on a Windows vCenter Server, you can do the same thing following William’s post on the vCSA.
To embed the audio you’ll need to find the ‘unpentry.jsp‘ file. It can be found at: “C:\ProgramData\VMware\vCenterServer\runtime\VMwareSTSService\webapps\websso\WEB-INF\views”
At the bottom of the file after the close of the ‘script‘ section, create the following code:
<audio autoplay="autoplay" loop="loop">
<source src="addresstoaudiofile.mp3" /></audio>
I was able to find the Emperial March mp3 online so I didn’t have to upload my own. The fun begins now when you visit your vSphere Web Client login page… go give it a try :).