From 6cd93e12db161d048cf15b2c522884f8b3114a95 Mon Sep 17 00:00:00 2001 From: Stanislaw Adaszewski Date: Fri, 1 May 2020 18:25:19 +0200 Subject: [PATCH] Fix for volume tagging. --- focker/volume.py | 1 + 1 file changed, 1 insertion(+) diff --git a/focker/volume.py b/focker/volume.py index 789c1dd..d270b57 100644 --- a/focker/volume.py +++ b/focker/volume.py @@ -18,6 +18,7 @@ def command_volume_create(args): if not zfs_exists(name): break zfs_run(['zfs', 'create', '-o', 'focker:sha256=' + sha256, name]) + zfs_untag(args.tags, focker_type='volume') zfs_tag(name, args.tags)