You have to not use --script and parse the output for the warning and answer yes. I have been mulling over a --force-things system to allow a script to specify that it expects a specific error and how it should be handled but it isn't easy the way libparted is structured.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212492 Title: cc_growpart broken if parted resizefs found To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1212492/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs