Use virt-customize as regular user
This fixed following error running virt-customize as superuser: libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory Depends-On: https://review.opendev.org/c/x/devstack-plugin-tobiko/+/791698 Change-Id: I311a232806112196f5e37bed42fa762af9e4f31c
This commit is contained in:
parent
6a56f0f0fb
commit
ff5ac3e718
@ -429,7 +429,7 @@ class CustomizedGlanceImageFixture(URLGlanceImageFixture):
|
||||
execute = True
|
||||
command += ['--install', package]
|
||||
if execute:
|
||||
sh.execute(command, sudo=True)
|
||||
sh.execute(command)
|
||||
|
||||
sh.get_file(work_file, customized_file)
|
||||
return customized_file
|
||||
|
Loading…
Reference in New Issue
Block a user