search for: do_configure

Displaying 20 results from an estimated 20 matches for "do_configure".

Did you mean: deconfigure
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...dings | \ - grep "HostVG"|grep -v $DRIVE|awk '{ print $1 }')" + grep "HostVG"|grep -v $HOSTVGDRIVE|awk '{ print $1 }')" rc=0 if [ -n "$devices" ]; then printf "\n" @@ -193,8 +206,14 @@ get_dev_name() do_configure() { local name_and_size - DRIVE=$(get_dev_name) || return 0 - get_drive_size $DRIVE SPACE + printf "\n\nPlease select the disk to use for the Root.\n\n" + ROOTDRIVE=$(get_dev_name) || return 0 + get_drive_size $ROOTDRIVE ROOTDRIVESPACE + + printf "\n\nPlease s...
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.
...mmit=0.5 - +default_boot_size=50 default_root_size=256 default_config_size=5 default_logging_size=2048 # -1 indicates data partition should use remaining disk default_data_size=-1 - +boot_min_size=50 root_min_size=256 config_min_size=5 logging_min_size=5 @@ -206,6 +206,11 @@ get_dev_name() do_configure() { local name_and_size + if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then + printf "\n\nPlease select the disk to use for the Boot partition.\n\n" + BOOTDRIVE=$(get_dev_name) || return 0 + get_drive_size $BOOTDRIVE BOOTDRIVESPACE + fi p...
2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...grep "HostVG"|grep -v $HOSTVGDRIVE|awk '{ print $1 }')" + grep "HostVG"|grep -v "$HOSTVGDRIVE"|awk '{ print $1 }')" rc=0 if [ -n "$devices" ]; then printf "\n" @@ -357,11 +357,27 @@ do_configure() printf "\n\nPlease select the disk to use for the Root.\n\n" ROOTDRIVE=$(get_dev_name) || return 0 get_drive_size "$ROOTDRIVE" ROOTDRIVESPACE + if ask_yes_or_no "Will Root be shared with other nodes ([Y]es/[N]o)?"; then +...
2010 Apr 01
2
[PATCH node 1/3] Enables ability to have a common shared root
...uot; +fi rc=$? if [ $rc -eq 0 -a "$doreboot" = "yes" ]; then disable_firstboot diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage index 8d59a6b..aec3447 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -357,6 +357,22 @@ do_configure() printf "\n\nPlease select the disk to use for the Root.\n\n" ROOTDRIVE=$(get_dev_name) || return 0 get_drive_size "$ROOTDRIVE" ROOTDRIVESPACE + if ask_yes_or_no "Will Root be shared with other nodes ([Y]es/[N]o)?"; then +...
2010 Mar 17
1
[PATCH][node REPOST] Improve performance of multipath translations
...oose. # display description for each disk for d in $devices; do - get_drive_size $d >&2 + get_drive_size "$d" >&2 done local choices="$devices Abort" select device in $choices "Manual Selection" @@ -340,12 +353,12 @@ do_configure() if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then printf "\n\nPlease select the disk to use for the Boot partition.\n\n" BOOTDRIVE=$(get_dev_name) || return 0 - get_drive_size $BOOTDRIVE BOOTDRIVESPACE + get_drive_size "$BOOTDRIVE&q...
2009 May 21
1
[PATCH node] display descriptions for all disks
...get_dev_name() esac # There are two or more; make the user choose. + # display description for each disk + for d in $devices; do + get_drive_size $d >&2 + done local choices="$devices Abort" select device in $choices do @@ -174,7 +182,7 @@ do_configure() { local name_and_size DRIVE=$(get_dev_name) || return 0 - get_selected_drive_size + get_drive_size $DRIVE SPACE printf "\n\nPlease configure storage partitions.\n\n" printf "* Enter partition sizes in MB.\n" @@ -256,8 +264,7 @@ do_review() The l...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...1}'); do devices="$devices /dev/mapper/$dev" local sd_devs="" - get_multipath_devices $dev sd_devs + get_multipath_devices "$dev" sd_devs devs_to_remove="${devs_to_remove} ${sd_devs}" done @@ -352,7 +352,7 @@ do_configure() printf "\n\nPlease select the disk to use for the Boot partition.\n\n" BOOTDRIVE=$(get_dev_name) || return 0 get_drive_size "$BOOTDRIVE" BOOTDRIVESPACE - echo $BOOTDRIVE + echo "$BOOTDRIVE" else printf "\n\n...
2009 Oct 22
0
[PATCH node] merge Root and /boot partitions
...\ - "$BOOT_SIZE + $SWAP_SIZE + $ROOT_SIZE * 2" \ + "$SWAP_SIZE + $ROOT_SIZE * 2" \ "+ $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,...
2009 May 28
1
[PATCH node] REPOST Joey's patch missed by previous repost
ACK, pushed.
2002 May 11
4
socks5 support
..., a decent number of apps only support SOCKS5 > proxying. > Good luck, I sent in a patch for socks5 support back in October of last year and got blown out of the water by the "developers". The patch consists of three files: README.patch patch_Applied-2-openssh-2.9.9p2.diff do_configure.sh which you will find attached :-) The one drawback that I saw when rummaging around in openssh code is that it is nicely set up to support ipv6 and the socks stuff only works for ipv4. The socks support is identical to that supplied in the pre-openssh ssh-1.2.xx stuff. I have not tested the soc...
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
..."\nTo re-install the node, please select \"Uninstall Node\" from the main\n" + printf "menu and then try to partition.\n" + printf "\n" + rc=1 + fi + else + rc=0 fi return $rc @@ -210,16 +220,17 @@ do_configure() printf "\n\nPlease select the disk to use for the Boot partition.\n\n" BOOTDRIVE=$(get_dev_name) || return 0 get_drive_size $BOOTDRIVE BOOTDRIVESPACE + echo $BOOTDRIVE + else + printf "\n\nPlease select the disk to use for the Root.\n\n&q...
2018 Mar 26
0
talloc configure error for armv8be
...oots/x86_64-linux/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "…/tmp/sysroots/x86_64-linux/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory WARNING: temp/run.do_configure:1 exit 1 from This error is caused by using armv8be toolchain,le(little endian) is ok. I think there is something wrong with uname sysname. Does anyone know the reason? -------------------------------------------------- Zheng Ruoqin Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) ADDR.: No....
2009 Jun 30
2
[PATCH node] Make all yes/no prompts consistent. rhbz#508778
...0) break ;; + 1) ;; + 2) return ;; esac done fi diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage index 41177a4..2e523df 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -208,11 +208,9 @@ do_configure() printf " partition should use up the remaining space on the disk.\n\n" do_review - read -ep "Use these default values? (Y/n) " - - case $REPLY in - Y|y) return;; - esac + if ask_yes_or_no "Use these default values (y/n)?"; then +...
2010 Feb 24
5
New Storage related patches
This set of patches introduces support for multipath devices for storage. Comments and suggestions are appreciated. Mike
2009 Jul 10
0
[PATCH node] This is a follow-on patch for bz#507455.
...echo "$device" - return 0 + + while true; do + select device in $choices Abort + do + case $device in + "Abort") return 1;; + *) eval $DRIVE_VAR=$device; return 0;; + esac + done done } do_configure() { local name_and_size - DRIVE=$(get_dev_name) || return 0 - get_drive_size $DRIVE SPACE + select_a_drive DRIVE + debug "DRIVE=$DRIVE" + test -z "$DRIVE" && return 0 + + print_drive_size $DRIVE SPACE printf "\n\nPlease configure stora...
2009 Jul 01
1
Replacement patch for bz#507455
This patch includes a fix to no longer list devices with 0 bytes of storage, such as removeable media devices with no media present.
2009 May 27
4
[PATCH node] REPOST Joey's and Darryl's ovirt-config-* patches
This is a repost of patches for ovirt-config-* ACK to all. Pushed.
2009 May 20
2
[PATCH node] Adds support for a core dump partition to the node.
...GING_SIZE + $min_data_size" | bc -l) + "+ $CONFIG_SIZE + $LOGGING_SIZE + $COREDUMP_SIZE + $min_data_size" | bc -l) if [ $need_size -gt $disk_size ]; then local gap_size=$(echo "scale=0; $need_size-$disk_size;" | 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 [ &quot...
2009 Oct 01
1
Repost of Patch 6/6 for ovirt-node
All other patches from the sequence remain unchanged. Repost of patch 6 based on comments from Joey to follow. Mike
2009 Sep 26
10
Adding handling for Multipath storage devices
The following patches introduce support for multipath and cciss devices to the ovirt-node and node-image. Comments are appreciated. These patches assume that the 3 patches (2 node, 1 node-image) from Joey are all incorporated. Mike