feat: move various config options to advanced flags (#1217)

* feat: move various config options to advanced flags

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: remove lp refs

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl authored and GitHub committed 2024-01-21 09:53:25 -05:00
1 parent e738a6f69c
commit 8339d142b7
14 files changed
+19 -47

No files matched your search

@@ -28,4 +28,4 @@ spec:
enabled: true
name: openebs-hostpath
isDefaultClass: false
basePath: "#{ bootstrap_local_storage_path }#"
basePath: "#{ bootstrap_advanced_flags.local_storage_path|default('/var/openebs/local', true) }#"
@@ -4,7 +4,7 @@
[ $(id -u) -eq 0 ] || exec sudo $0 $@
# Remove local storage data
rm -rf "#{ bootstrap_local_storage_path }#"
rm -rf "#{ bootstrap_advanced_flags.local_storage_path|default('/var/openebs/local', true) }#"
# Reboot
(sleep 10 && systemctl reboot)&