Comment 2 for bug 1921325

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I tried Bionic and Focal.
Setting autostart as well as seeing the effect on reboot worked just the same there:

oot@b:~# virsh autostart h-test
Domain h-test marked as autostarted

root@b:~# ll /etc/libvirt/qemu/autostart/
total 2
drwxr-xr-x 2 root root 3 Mar 26 08:56 ./
drwxr-xr-x 4 root root 5 Mar 26 08:56 ../
lrwxrwxrwx 1 root root 28 Mar 26 08:56 h-test.xml -> /etc/libvirt/qemu/h-test.xml
root@b:~# virsh shutdown h-test
Domain h-test is being shutdown

root@b:~# reboot
root@b:~# [✗=129]─[paelzer@Keschdeichel ~]──[203538]──[09:57 Fr Mär 26]──
$ lxc exec b bash
root@b:~# virsh list
 Id Name State
----------------------------------------------------
 1 h-test running

root@f:~# virsh autostart h-test
Domain h-test marked as autostarted

root@f:~# ll /etc/libvirt/qemu/autostart/
total 2
drwxr-xr-x 2 root root 3 Mar 26 08:56 ./
drwxr-xr-x 4 root root 5 Mar 26 08:56 ../
lrwxrwxrwx 1 root root 28 Mar 26 08:56 h-test.xml -> /etc/libvirt/qemu/h-test.xml
root@f:~# virsh shutdown h-test
Domain h-test is being shutdown

root@f:~# reboot
root@f:~# [✗=129]─[paelzer@Keschdeichel ~]──[203673]──[09:57 Fr Mär 26]──
$ lxc exec f bash
root@f:~# virsh list
 Id Name State
------------------------
 1 h-test running

Now trying the rename ...