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!
Stanislaw Adaszewski 4 лет назад
Родитель
Сommit
99f14ebbef
1 измененных файлов: 4 добавлений и 1 удалений
  1. +4
    -1
      image.py

+ 4
- 1
image.py Просмотреть файл

@@ -50,7 +50,10 @@ def build(spec, args):
feed = {
'focker:sha256': st_sha256
}
snap_name = new_snapshot(base, lambda: st.execute(zfs_mountpoint(name), args=args) and zfs_set_props(name, feed), name)
def atomic():
st.execute(zfs_mountpoint(name), args=args)
zfs_set_props(name, feed)
snap_name = new_snapshot(base, atomic, name)
# zfs_set_props(name, feed)
# zfs_set_props(snap_name, feed)
base = snap_name


Загрузка…
Отмена
Сохранить