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!
Bläddra i källkod

Add zfs_untag() call to focker bootstrap.

master
förälder
incheckning
52d6bc245d
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. +3
    -1
      focker/bootstrap.py

+ 3
- 1
focker/bootstrap.py Visa fil

@@ -3,7 +3,8 @@ import hashlib
from .misc import find_prefix
from .zfs import zfs_poolname, \
zfs_mountpoint, \
zfs_tag
zfs_tag, \
zfs_untag
def command_bootstrap(args):
@@ -16,6 +17,7 @@ def command_bootstrap(args):
poolname = zfs_poolname()
name = find_prefix(poolname + '/focker/images/', sha256)
subprocess.check_output(['zfs', 'create', '-o', 'focker:sha256=' + sha256, name])
zfs_untag(tags, focker_type='image')
zfs_tag(name, tags)
res = None
if args.non_interactive:


Laddar…
Avbryt
Spara