summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJames Falcon <james.falcon@canonical.com>2022-04-26 19:03:13 -0500
committerGitHub <noreply@github.com>2022-04-26 19:03:13 -0500
commitd95a331d1035d52443c470e0c00765a2c2b271cc (patch)
tree2409678760f9be32b0fac9786d417bae19a62b56 /tox.ini
parent188841ce40e0d611a4345d37b4724727452ffac2 (diff)
downloadcloud-init-git-d95a331d1035d52443c470e0c00765a2c2b271cc.tar.gz
Allow growpart to resize encrypted partitions (#1316)
Adds the ability for growpart to resize a LUKS formatted partition. This involves resizing the underlying partition as well as the filesystem. 'cryptsetup' is used for resizing. This relies on a file present at /cc_growpart_keydata containing json formatted 'key' and 'slot' keys, with the key being base64 encoded. After resize, cloud-init will destroy the luks slot used for resizing and remove the key file.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index e53e3ad6..ab136de3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -117,6 +117,7 @@ deps =
# test-requirements
pytest==3.3.2
pytest-cov==2.5.1
+ pytest-mock==1.7.1
# Needed by pytest and default causes failures
attrs==17.4.0
responses==0.5.1