Displaying 1 result from an estimated 1 matches for "f86543e".
Did you mean:
f276543e
2009 Sep 08
2
[PATCH node] Add support for automatic remote logging on PXE ovirt-node
...if ! is_local_storage_configured; then
+if ! is_local_storage_configured && ! is_diskless ; then
printf "Local storage must be configured prior to configuring the logging system.\n"
exit 99
fi
diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions
index 98e88e7..f86543e 100644
--- a/scripts/ovirt-functions
+++ b/scripts/ovirt-functions
@@ -88,6 +88,10 @@ is_local_storage_configured () {
return 1
}
+is_diskless() {
+ grep -q '/dev/mapper/live-rw /' /proc/mounts
+}
+
# perform automatic local disk installation
# when at least following boot para...