IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

25 Zeilen
566B

  1. from .zfs import *
  2. def process_step(step, name):
  3. cmd=['jail', '-c']
  4. cmd.append('path=' + '/focker/' + name)
  5. def process_steps(steps, name):
  6. if isinstance(steps, list):
  7. for step in steps:
  8. process_step(step, name)
  9. else:
  10. process_step(steps, name)
  11. def build(spec):
  12. if 'base' not in spec:
  13. raise ValueError('Missing base specification')
  14. base = spec.base
  15. base = zfs_snapshot_by_tag_or_name(base)
  16. root = '/'.join(base.split('/')[:-1])
  17. print('base:', base, 'root:', root)