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!
Pārlūkot izejas kodu

Small

tags/0.92
Stanislaw Adaszewski pirms 4 gadiem
vecāks
revīzija
b8e58b3122
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      jail.py

+ 2
- 2
jail.py Parādīt failu

@@ -24,10 +24,10 @@ def jail_fs_create(image=None):
break
if image:
image, _ = zfs_find(image, focker_type='image', zfs_type='snapshot')
zfs_run(['zfs', 'clone', '-o', 'focker:sha256=' + sha256, image, name])
zfs_parse_output(['zfs', 'clone', '-o', 'focker:sha256=' + sha256, image, name])
else:
print('Creating empty jail:', name)
zfs_run(['zfs', 'create', '-o', 'focker:sha256=' + sha256, name])
zfs_parse_output(['zfs', 'create', '-o', 'focker:sha256=' + sha256, name])
return name


Notiek ielāde…
Atcelt
Saglabāt