diff options
author | Mina Galić <me+git@igalic.co> | 2020-11-02 22:13:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-02 16:13:02 -0500 |
commit | 2c4500394b2e3b3074468fffc4d91b404304bc39 (patch) | |
tree | 8ac1620de15a2ba9d4b6076637ddfbd4142b380e /cloudinit | |
parent | 0af1ff1eaf593c325b4f53181a572110eb016c50 (diff) | |
download | vyos-cloud-init-2c4500394b2e3b3074468fffc4d91b404304bc39.tar.gz vyos-cloud-init-2c4500394b2e3b3074468fffc4d91b404304bc39.zip |
remove unnecessary reboot from gpart resize (#646)
a reboot after `gpart resize` hasn't been necessary since ca FreeBSD 9.2
Co-authored-by: Rick Harding <rharding@mitechie.com>
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/config/cc_growpart.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cloudinit/config/cc_growpart.py b/cloudinit/config/cc_growpart.py index 237c3d02..621df0ac 100644 --- a/cloudinit/config/cc_growpart.py +++ b/cloudinit/config/cc_growpart.py @@ -196,10 +196,6 @@ class ResizeGpart(object): util.logexc(LOG, "Failed: gpart resize -i %s %s", partnum, diskdev) raise ResizeFailedException(e) from e - # Since growing the FS requires a reboot, make sure we reboot - # first when this module has finished. - open('/var/run/reboot-required', 'a').close() - return (before, get_size(partdev)) |