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.

Attachment: vboxshell_hostname.diff
Description: Binary data

_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to