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!
Ver código fonte

Add zfs_untag() call to focker bootstrap.

master
Stanislaw Adaszewski 4 anos atrás
pai
commit
52d6bc245d
1 arquivos alterados com 3 adições e 1 exclusões
  1. +3
    -1
      focker/bootstrap.py

+ 3
- 1
focker/bootstrap.py Ver arquivo

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


Carregando…
Cancelar
Salvar