Displaying 2 results from an estimated 2 matches for "98e88e7".
2009 Aug 03
1
[PATCH node] changed fickle anyterm sysconfig changes to something more robust (revised)
...sed'ing the exact commented line we are looking for, simply
add the necessary lines to the end of the anyterm sysconf
---
scripts/ovirt-functions | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions
index af3a257..98e88e7 100644
--- a/scripts/ovirt-functions
+++ b/scripts/ovirt-functions
@@ -213,11 +213,10 @@ ovirt_setup_libvirtd() {
ovirt_setup_anyterm() {
# configure anyterm
- sed -i -e 's/^# ANYTERM_CMD=\/usr\/bin\/anyterm-cmd/ANYTERM_CMD="sudo \/usr\/bin\/virsh console %p"/' \
-...
2009 Sep 08
2
[PATCH node] Add support for automatic remote logging on PXE ovirt-node
...13 15
-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...