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!
Explorar el Código

Add zfs_untag() call to focker bootstrap.

master
Stanislaw Adaszewski hace 4 años
padre
commit
52d6bc245d
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. +3
    -1
      focker/bootstrap.py

+ 3
- 1
focker/bootstrap.py Ver fichero

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


Cargando…
Cancelar
Guardar