-
Notifications
You must be signed in to change notification settings - Fork 459
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
Root permissions file under default storage pool #647
Comments
@tmpm697 you need to setup your user correctly, belonging to |
@tmpm697 https://wiki.archlinux.org/index.php/Libvirt#Configuration. I don't have time to post my configuration. It is really the standard one. Please ask help on the question on the channel. Consider that this issue isn't not a terraform-provider-libvirt issue but on the libvirt itself. So you might just ask in any arch Linux forum or libvirt channels. I'm closing this as invalid |
This is our channel feel free to ask there otherwise other medium can help 🐧 |
System Information
Linux distribution
archlinux..
Terraform version
Provider and libvirt versions
I'm trying to provision
kvm
vialibvirt
using this plugin under normal user (I don't want to use root).I have my normal user in group of
/etc/group
:wheel
,libvirt
(user in wheel can sudo without password)I created default storage pool using this comment: simon3z/virt-deploy#8 (comment)
I
sudo chmod 644 /var/libvirt/images
andsudo chown -R myuser:myuser /var/lib/libvirt/images
Problem is that when I use example
https://github.com/dmacvicar/terraform-provider-libvirt/tree/master/examples/v0.12/ubuntu
.terraform init
andterraform apply
to provison the vm, it create file under /var/lib/libvirt/images withroot:root
owner and givepermission errror
, then I have to re-dosudo chown -R myuser:myuser /var/lib/libvirt/images
and re-runterraform apply
to make it work.How to avoid this kind of issue?
The text was updated successfully, but these errors were encountered: