From 70b90db2364256fe8ba7e368cbd96cd53b246cb3 Mon Sep 17 00:00:00 2001 From: rpm-build Date: Wed, 8 Nov 2017 11:02:42 -0500 Subject: [PATCH] cloud-init-interactive-parted --- cloudinit/config/cc_growpart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudinit/config/cc_growpart.py b/cloudinit/config/cc_growpart.py index 832bb3f..71c4f7f 100644 --- a/cloudinit/config/cc_growpart.py +++ b/cloudinit/config/cc_growpart.py @@ -182,7 +182,7 @@ class ResizeGpart(object): before = get_size(partdev) try: - util.subp(["gpart", "resize", "-i", partnum, diskdev]) + util.subp(["resizepart.sh", diskdev, partnum]) except util.ProcessExecutionError as e: util.logexc(LOG, "Failed: gpart resize -i %s %s", partnum, diskdev) raise ResizeFailedException(e) -- 1.8.3.1