[vbox-dev] [PATCH] vboxshell prompt reflects running host
Chris Lockfort
clockfort at csh.rit.edu
Thu Apr 12 14:56:15 PDT 2012
We have a number of virtualbox host servers and use the SDK's
vboxshell for some management tasks. However, unlike most shells, it
does not set the prompt to the hostname, which can lead to plenty of
production/dev confusion accidents.
The following patch defaults the prompt to the machine's hostname, is
cross-platform, and the only import it adds is part of the Python
Standard Library, so it does not add additional dependencies.
As per the contributing documentation, the attached patch is Copyright
(C) 2012 Chris Lockfort, and is licensed under the MIT license.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vboxshell_hostname.diff
Type: application/octet-stream
Size: 535 bytes
Desc: not available
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20120412/399231b2/attachment-0001.obj
More information about the vbox-dev
mailing list