summaryrefslogtreecommitdiff
path: root/cloudinit/distros/freebsd.py
diff options
context:
space:
mode:
authorMina Galić <freebsd@igalic.co>2023-05-16 19:37:07 +0100
committerGitHub <noreply@github.com>2023-05-16 13:37:07 -0500
commit21006925f17815fc79e9a15f80088b1585e6f1a6 (patch)
tree8274fc5220345b73a4470291735b17cfe25f46cd /cloudinit/distros/freebsd.py
parentffdb7a7d5fd78b9f64d2f4d9686236b56fa9503d (diff)
downloadcloud-init-git-21006925f17815fc79e9a15f80088b1585e6f1a6.tar.gz
FreeBSD: add ResizeGrowFS class to cc_growpart (#2334)
this FreeBSD specific resizer resizes the root partition and grows the Filesystem all in one. All we have to do is call ``service growfs onestart`` Document behaviour: especially that growfs will insert a swap partition if none is present, unless instructed otherwise. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'cloudinit/distros/freebsd.py')
-rw-r--r--cloudinit/distros/freebsd.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cloudinit/distros/freebsd.py b/cloudinit/distros/freebsd.py
index 77a94c61..443d0961 100644
--- a/cloudinit/distros/freebsd.py
+++ b/cloudinit/distros/freebsd.py
@@ -53,6 +53,7 @@ class Distro(cloudinit.distros.bsd.BSD):
"start": [service, "start"],
"enable": [service, "enable"],
"disable": [service, "disable"],
+ "onestart": [service, "onestart"],
"restart": [service, "restart"],
"reload": [service, "restart"],
"try-reload": [service, "restart"],