From 57ff741c14f9b99bc9519360562a623683265db1 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 20 Feb 2023 17:22:05 -0600 Subject: [PATCH] disable remember_owner in qemu.conf --- .../posts/create-vms-chromebook-hashicorp-vagrant/index.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/posts/create-vms-chromebook-hashicorp-vagrant/index.md b/content/posts/create-vms-chromebook-hashicorp-vagrant/index.md index 2b84294..ede9f53 100644 --- a/content/posts/create-vms-chromebook-hashicorp-vagrant/index.md +++ b/content/posts/create-vms-chromebook-hashicorp-vagrant/index.md @@ -52,6 +52,12 @@ And to avoid having to `sudo` each time I interact with `libvirt` I'll add mysel sudo gpasswd -a $USER libvirt ; newgrp libvirt ``` +And to avoid [this issue](https://github.com/virt-manager/virt-manager/issues/333) I'll make a tweak to the `qemu.conf` file: +```shell +echo "remember_owner = 0" | sudo tee -a /etc/libvirt/qemu.conf +sudo systemctl restart libvirtd +``` + I'm also going to use `rsync` to share a [synced folder](https://developer.hashicorp.com/vagrant/docs/synced-folders/basic_usage) between the host and the VM guest so I'll need to make sure that's installed too: ```shell sudo apt install rsync