Skip to content
  • Iustin Pop's avatar
    Abstract runtime creation of dirs into a function · 8adbffaa
    Iustin Pop authored
    Currently the dir creation in ganeti-noded is in the main function. This
    is not nice: we move it into a separate function and also add creation
    of the OS_LOG_DIR (with different permissions, but in the same way).
    This will permit cleanup of the creation of the OS_LOG_DIR from the
    backend module (it's done multiple places currently).
    
    Reviewed-by: imsnah
    8adbffaa