You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running ./libvirt_configuration.sh backs up both files with the postfix _old. If you run the script twice then you're overwriting the original backup, overwrite the backup with the new version and delete it since the mv deleted it from the git working copy.
A cp would be better and the backup should have a timestamp appended to it to make sure its not erased.
Maybe something like this mv /etc/libvirt/libvirtd.conf /etc/libvirt/libvirtd.conf.$(date+"%s").old
and mv "mv /etc/libvirt/qemu.conf /etc/libvirt/qemu.conf.$(date+"%s").old"
The text was updated successfully, but these errors were encountered:
Running
./libvirt_configuration.sh
backs up both files with the postfix _old. If you run the script twice then you're overwriting the original backup, overwrite the backup with the new version and delete it since themv
deleted it from the git working copy.A cp would be better and the backup should have a timestamp appended to it to make sure its not erased.
Maybe something like this
mv /etc/libvirt/libvirtd.conf /etc/libvirt/libvirtd.conf.$(date+"%s").old
and
mv "mv /etc/libvirt/qemu.conf /etc/libvirt/qemu.conf.$(date+"%s").old"
The text was updated successfully, but these errors were encountered: