Skip to content
Snippets Groups Projects
  1. Mar 26, 2013
    • Nikos Skalkotos's avatar
      Rename DiskDevice class to Image · f5174d2c
      Nikos Skalkotos authored
      Rename DiskDevice class to Image and move it to a seperate module.
      Also, don't let the user access the os_type/* modules directly. In
      Image class create the `os' member variable that will host an
      appropriate instance of one of the OSBase classes.
      f5174d2c
  2. Mar 22, 2013
  3. Mar 21, 2013
  4. Mar 20, 2013
  5. Mar 19, 2013
  6. Mar 18, 2013
  7. Mar 17, 2013
  8. Mar 16, 2013
  9. Mar 14, 2013
  10. Mar 13, 2013
  11. Mar 12, 2013
  12. Mar 06, 2013
  13. Jan 30, 2013
  14. Jan 29, 2013
  15. Jan 27, 2013
  16. Jan 26, 2013
    • Nikos Skalkotos's avatar
      Ommit using os.path.relpath · 29274f83
      Nikos Skalkotos authored
      The method has different behaviour in python 2.6 and python 2.7.
      In python 2.6, os.path.relpath('/proc', '/) will output '../proc'
      where in python 2.7 it will output 'proc'.
      29274f83
    • Nikos Skalkotos's avatar
      Support pyparted 3.4 · e62eb365
      Nikos Skalkotos authored
      Use length instead of getLength() to get the size in sectors of a
      device.
      e62eb365
  17. Jan 22, 2013
  18. Jan 18, 2013
    • Nikos Skalkotos's avatar
      Completely exclude mpoints when running rsync · 252b2b5d
      Nikos Skalkotos authored
      We used to exclude mount point from rsync with options like this:
      
       --exclude mount/point/*
      
      This will copy the directory and leave out all files under it. In
      some cases, this causes problems because rsync will fail if it
      cannot stat the directory and some mount point will only return
      stat info to their owner and not root. Even if this wasn't the
      case, we cannot determine the real directory attributes. The stat
      syscall will return the attributes associated with the mount
      options. It's better to completely exclude those mpoints in rsync
      and create them explicitly after the command runs. We make them
      inherit the mode and the ownership of their parent directory.
      252b2b5d
    • Nikos Skalkotos's avatar
      Fix a bug in tmp dir removal · f6ea8d02
      Nikos Skalkotos authored
      snf-image-creator removed /var/tmp if the directory was empty
      f6ea8d02
  19. Jan 16, 2013
  20. Jan 14, 2013
  21. Jan 11, 2013
  22. Jan 10, 2013
Loading