M0ses / kanku

Kanku - Bridging the gap between Open-Build-Service and DevOPS
http://m0ses.github.io/kanku/
GNU General Public License v3.0
10 stars 6 forks source link

[setup] Do not overwrite qemu.conf backup #35

Closed bmwiedemann closed 5 years ago

bmwiedemann commented 5 years ago

Without this patch, kanku setup --devel does

[2019/05/25 11:11:05][DEBUG](1830) Create backup of config /etc/libvirt/qemu.conf -> /etc/libvirt/qemu.conf.kanku-bak1558775465.1830
[2019/05/25 11:11:05][DEBUG](1830) Create backup of config /etc/libvirt/qemu.conf -> /etc/libvirt/qemu.conf.kanku-bak1558775465.1830

and has the backup identical to the modified qemu.conf And there is no copy of the original left.

Note: not tested.

M0ses commented 5 years ago

Thanks for your contribution