summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorHarm Weites <harm@weites.com>2014-08-09 11:34:46 +0000
committerHarm Weites <harm@weites.com>2014-08-09 11:34:46 +0000
commit33826c4e1b6cbb10a27633a5dd9627fcb88808b4 (patch)
tree1fde4b8fa58e3666b9333bcee5adc26866b9785e /cloudinit
parent5d96928ee2a2573aaf49727adafc91120daa1d36 (diff)
downloadvyos-cloud-init-33826c4e1b6cbb10a27633a5dd9627fcb88808b4.tar.gz
vyos-cloud-init-33826c4e1b6cbb10a27633a5dd9627fcb88808b4.zip
fix: Pass -y to growfs to keep it from asking for confirmation.
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/config/cc_resizefs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_resizefs.py b/cloudinit/config/cc_resizefs.py
index be406034..e290efe0 100644
--- a/cloudinit/config/cc_resizefs.py
+++ b/cloudinit/config/cc_resizefs.py
@@ -41,7 +41,7 @@ def _resize_xfs(mount_point, devpth): # pylint: disable=W0613
def _resize_ufs(mount_point, devpth): # pylint: disable=W0613
- return ('growfs', devpth)
+ return ('growfs', '-y', devpth)
# Do not use a dictionary as these commands should be able to be used
# for multiple filesystem types if possible, e.g. one command for