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 před 4 roky
rodič
revize
99f14ebbef
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. +4
    -1
      image.py

+ 4
- 1
image.py Zobrazit soubor

@@ -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


Načítá se…
Zrušit
Uložit