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

Documentation additions/edits #26

Closed
vphan13 opened this issue Sep 22, 2024 · 3 comments
Closed

Documentation additions/edits #26

vphan13 opened this issue Sep 22, 2024 · 3 comments

Comments

@vphan13
Copy link

vphan13 commented Sep 22, 2024

  1. Required packages (I'm using Rocky/Fedora)
    sudo yum install libvirt, qemu, libvirt-nss
  2. Non-privileged user requirements (I'm not sure if this is right, but if not done, then you can start images as a non-privileged user but the command below will be empty
    virsh list --all
  • user has to be in the libvirt and kvm group
  1. The ssh documentation Simply editing the nssswitch.conf file does not work on RHEL9, the following command does
    authselect enable-feature with-libvirt
  2. Lastly, the default loglevel does not show any output like the video
  • What are the other loglevel options that can be specified?
@exu-g
Copy link

exu-g commented Sep 25, 2024

I also had to install qemu on Arch. One error I had specifically mentioned qemu-img, but I went with qemu-full to make sure I had everything.

If you run virsh as your user, it will access the qemu:///session socket by default. Create a config file in ~/.config/libvirt/libvirt.conf and add uri_default = "qemu:///system" to change it to the system socket.
For me just adding the libvirt group sufficed.

@chrboe
Copy link
Collaborator

chrboe commented Sep 25, 2024

  1. Lastly, the default loglevel does not show any output like the video
    What are the other loglevel options that can be specified?

That video is from 2021; we have since significantly reduced the verbosity of the "regular" commands (like running a VM).

See virter --help:

  -l, --loglevel string    Log level, default may be set with environment variable "VIRTER_LOG_LEVEL" (default "info")

Available log levels are trace, debug, info, warn, error, fatal, panic. According to https://github.com/sirupsen/logrus/blob/v1.9.3/logrus.go#L25

@vphan13
Copy link
Author

vphan13 commented Oct 1, 2024

I think this can be closed out. Docs could use a few more examples, but otherwise, I've gotten everything to work. Thank you for a great project

@vphan13 vphan13 closed this as completed Oct 1, 2024
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

3 participants