Displaying 6 results from an estimated 6 matches for "part_regexp".
2010 Feb 11
3
[PATCH node] remove ipv4 validation for ntp and rely on actual ntp verification
---
scripts/ovirt-config-networking | 13 ++++++-------
scripts/ovirt-functions | 16 ++++++++++++++++
2 files changed, 22 insertions(+), 7 deletions(-)
diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking
index ec154c2..40a2d2c 100755
--- a/scripts/ovirt-config-networking
+++ b/scripts/ovirt-config-networking
@@ -414,12 +414,7 @@ function configure_ntp
2009 May 20
2
[PATCH node] Adds support for a core dump partition to the node.
...quot; | bc -l)
@@ -186,7 +188,7 @@ do_configure()
printf " partition should use up the remaining space on the disk.\n\n"
local space_left=$SPACE
- for part in boot swap root config logging data ; do
+ for part in boot swap root config logging coredump data ; do
part_regexp="^0$"
if [ "$part" = "data" ]; then
part_regexp="^\-1|0$"
@@ -234,6 +236,7 @@ set /files$OVIRT_DEFAULTS/OVIRT_VOL_SWAP_SIZE $SWAP_SIZE
set /files$OVIRT_DEFAULTS/OVIRT_VOL_ROOT_SIZE $ROOT_SIZE
set /files$OVIRT_DEFAULTS/OVIRT_VOL_CONFIG_...
2009 Dec 08
1
[PATCH node] iscsi remote root basework This lays most of the groundwork for iscsi installation and configuration. At this time configuring iscsi is disabled due to multiple issues with dependent pieces.
...for part in swap root config logging data ; do
+ if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then
+ partlist="boot swap root config logging data"
+ else
+ partlist="swap root config logging data"
+ fi
+ for part in $partlist ; do
part_regexp="^0$"
if [ "$part" = "data" ]; then
part_regexp="^\-1|0$"
@@ -276,12 +286,19 @@ do_configure()
# save input variables
augtool <<EOF
set /files$OVIRT_DEFAULTS/OVIRT_INIT $ROOTDRIVE
+set /files$OVIRT_DEFAULTS/OVIRT_VOL_BOO...
2009 Oct 22
0
[PATCH node] merge Root and /boot partitions
...$CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l)
if [ $need_size -gt $disk_size ]; then
@@ -213,7 +211,7 @@ do_configure()
fi
local space_left=$SPACE
- for part in boot swap root config logging data ; do
+ for part in swap root config logging data ; do
part_regexp="^0$"
if [ "$part" = "data" ]; then
part_regexp="^\-1|0$"
@@ -259,7 +257,6 @@ do_configure()
# save input variables
augtool <<EOF
set /files$OVIRT_DEFAULTS/OVIRT_INIT $DRIVE
-set /files$OVIRT_DEFAULTS/OVIRT_VOL_BOOT_SIZE...
2009 May 28
1
[PATCH node] REPOST Joey's patch missed by previous repost
ACK, pushed.
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...;\n\nPlease configure storage partitions.\n\n"
printf "* Enter partition sizes in MB.\n"
@@ -210,7 +229,7 @@ do_configure()
return
fi
- local space_left=$SPACE
+ local space_left=$HOSTVGDRIVESPACE
for part in swap root config logging data ; do
part_regexp="^0$"
if [ "$part" = "data" ]; then
@@ -250,13 +269,13 @@ do_configure()
if ! check_partition_sizes; then
printf "Please try partitioning again.\n"
- DRIVE=
+ ROOTDRIVE=
return 1
fi
# save input vari...