]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virt-sanlock-cleanup; Fix augtool usage v1.1.2-rc1
authorJiri Denemark <jdenemar@redhat.com>
Wed, 28 Aug 2013 11:50:10 +0000 (13:50 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 28 Aug 2013 11:50:10 +0000 (13:50 +0200)
commit74c5156f9db3be51eb7431a84f32731e7f687f2c
treeb5ef5843b90393cbf43e50708753aa545896900a
parentac43da705f0e7c23dffd87c0705ff01711b88ac0
virt-sanlock-cleanup; Fix augtool usage

Surprisingly, augtool get (or print) returns "path = value" while we are
only interested in the value. We need to remove the "path = " part from
the augtool's output. The following is an example of the augtool command
as used in virt-sanlock-cleanup script:

$ augtool get /files/etc/libvirt/qemu-sanlock.conf/disk_lease_dir
/files/etc/libvirt/qemu-sanlock.conf/disk_lease_dir = /var/lib/libvirt/sanlock
tools/virt-sanlock-cleanup.in