]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: Move passt log file in our example XML
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 12 Jun 2023 07:10:31 +0000 (09:10 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 26 Jun 2023 13:52:54 +0000 (15:52 +0200)
In our passt example XML we use /var/log/passt.log as path to the
log file. This is not optimal, because in case of unprivileged
daemon, neither libvirt nor passt has enough permissions to
create the file. Let's move the file under /tmp.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/formatdomain.rst

index 2ea440e1a16807c557de4f29c98f6db347ccb7ba..f29449f7495da12f61efb08d53b3d67f98f26714 100644 (file)
@@ -4903,7 +4903,7 @@ ports **with the exception of some subset**.
    <devices>
      ...
      <interface type='user'>
-       <backend type='passt' logFile='/var/log/passt.log'/>
+       <backend type='passt' logFile='/tmp/passt.log'/>
        <mac address="00:11:22:33:44:55"/>
        <source dev='eth0'/>
        <ip family='ipv4' address='172.17.2.4' prefix='24'/>