diff options
author | Harm Weites <harm@weites.com> | 2014-08-09 11:34:46 +0000 |
---|---|---|
committer | Harm Weites <harm@weites.com> | 2014-08-09 11:34:46 +0000 |
commit | 33826c4e1b6cbb10a27633a5dd9627fcb88808b4 (patch) | |
tree | 1fde4b8fa58e3666b9333bcee5adc26866b9785e /cloudinit | |
parent | 5d96928ee2a2573aaf49727adafc91120daa1d36 (diff) | |
download | vyos-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.py | 2 |
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 |