1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

virtualbox: fix regression byte-string (#54244)

All paths in get_bin_path are string type and vboxmanage was byte-string type.
So os.path.join was failing to join these two.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2019-03-22 21:06:32 +05:30 committed by Brian Coca
parent d241fc7844
commit 9aa1360867

View file

@ -61,7 +61,7 @@ class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable):
''' Host inventory parser for ansible using local virtualbox. '''
NAME = 'virtualbox'
VBOX = b"VBoxManage"
VBOX = "VBoxManage"
def __init__(self):
self._vbox_path = None