search for: md5root

Displaying 2 results from an estimated 2 matches for "md5root".

Did you mean: 3droot
2010 Mar 23
1
[PATCH] Ensures that persist and unpersist work with relative paths.
...persist_it=false fi @@ -478,34 +479,32 @@ ovirt_store_config() { # if it's a file then make sure it's not already # persisted - if [ -f $p ]; then - if [ -f /config$p ]; then - local md5root=$(md5 $p) - local md5stored=$(md5 /config$p) + if [ -f $filename ]; then + if [ -f /config$filename ]; then + local md5root=$(md5 $filename) + local md5stored=$(md5 /config$filename) if [ "$...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...or files and try again.\n") + persist_it=false + + # if it's a file then make sure it's not already + # persisted + if os.path.isfile(filename): + if os.path.isfile("/config/" + filename): + md5root=md5sum(filename) + md5stored=md5sum("/config" + filename) + if md5root == md5stored: + log("File already persisted: %s\n") % filename + persist_it=false + else: +...