mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00: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:
committed by
Brian Coca
parent
d241fc7844
commit
9aa1360867
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user