Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test driver support #1067

Open
deas opened this issue Jan 24, 2024 · 0 comments
Open

test driver support #1067

deas opened this issue Jan 24, 2024 · 0 comments

Comments

@deas
Copy link

deas commented Jan 24, 2024

System Information

Linux distribution

n/a

Terraform version

n/a

Provider and libvirt versions

v0.7.6

Checklist

n/a

Description of Issue/Question

For testing purposes, it would be nice if the Test "mock" driver could be made available.

Setup

n/a

Steps to Reproduce Issue

Use a system without the libvirt daemon running/listening at /var/run/libvirt/libvirt-sock.

$ export LIBVIRT_DEFAULT_URI = "test:///default"
$ terraform plan
....
 Error: failed to connect: dial unix /var/run/libvirt/libvirt-sock: connect: no such file or directory
...
$ virsh list
 Id   Name   State
----------------------
 1    test   running
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant