search for: ovirt_boot_setup

Displaying 20 results from an estimated 21 matches for "ovirt_boot_setup".

2010 Mar 23
1
[PATCH node][RFC] Remove dependencies on /dev/disk/by-label entries
...| 2 -- scripts/ovirt-functions | 18 ++++++++++-------- 3 files changed, 26 insertions(+), 23 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index ac43daa..b1fd469 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -29,14 +29,21 @@ ovirt_boot_setup() { local disk2 local partN=-1 log "installing the image." - if [ -h /dev/disk/by-label/Boot ]; then + local found_boot=false + if findfs LABEL=Boot 2>&1 >/dev/null ; then + found_boot=true + grub_dev_label=Boot + elif findfs LABEL=Root 2...
2010 Mar 24
2
[PATCH node][REPOST 1/2] Fix uninstall to detect and cleanup correct partitions
...scripts/ovirt-functions | 33 +++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 29 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index 28d1572..ac43daa 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -50,12 +50,7 @@ ovirt_boot_setup() { fi # check that /boot mounted ok and find partition number for GRUB - eval $(readlink -f /dev/disk/by-label/$grub_dev_label|awk {' - print "disk=" substr($1,1,length($1)-1); - print "disk2=" substr($1,1,length($1)-2); - partN=substr($1,...
2011 Aug 08
0
[PATCH] check admin password for upgrade verification
...gridform.add(Label("Installing Bootloader Configuration on: " + self.storage_init ), 0, 0, anchorLeft = 1) - gridform.add(progress_bar, 0, 1) - gridform.draw() - self.screen.refresh() - boot_setup = install.ovirt_boot_setup() - if boot_setup: - progress_bar.set(100) - self.__current_page = FINISHED_PAGE + admin_pw_set = password.set_password(self.root_password_1.value(), "admin") + if admin_pw_set: + gridfor...
2010 Apr 01
2
[PATCH node 1/3] Enables ability to have a common shared root
...rt-config-storage | 73 +++++++++++++++++++++++++---------------- 2 files changed, 56 insertions(+), 30 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index d545878..8cc127b 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -29,6 +29,12 @@ ovirt_boot_setup() { local disk2 local partN=-1 log "installing the image." + + if [ "$OVIRT_ROOT_INSTALL" == "n" ]; then + log "done." + return + fi + local found_boot=false if findfs LABEL=Boot 2>&1 >/dev/null ; then...
2009 Sep 30
1
[PATCH node] split root filesystems out of HostVG and onto their own partitions
...install | 2 ++ scripts/ovirt-functions | 8 +++++--- 4 files changed, 30 insertions(+), 23 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index 2961f76..dd53988 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -56,11 +56,11 @@ ovirt_boot_setup() { mkdir -p /liveos # prepare Root partition update candidate= - if [ -e /dev/HostVG/RootBackup ]; then + if [ -e /dev/disk/by-label/RootBackup ]; then candidate=RootBackup - elif [ -e /dev/HostVG/RootUpdate ]; then + elif [ -e /dev/disk/by-label/RootUpdate ]; t...
2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...t-config-storage | 111 ++++++++++++++++++++++++------------------ 2 files changed, 75 insertions(+), 49 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index d545878..8cc127b 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -29,6 +29,12 @@ ovirt_boot_setup() { local disk2 local partN=-1 log "installing the image." + + if [ "$OVIRT_ROOT_INSTALL" == "n" ]; then + log "done." + return + fi + local found_boot=false if findfs LABEL=Boot 2>&1 >/dev/null ; then...
2010 Apr 09
0
[PATCH node] fix iscsi installation problems
...scripts/ovirt-functions | 27 ++++++++++++++++++--------- 4 files changed, 45 insertions(+), 17 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index 72bcd9b..fc6649f 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -34,7 +34,7 @@ ovirt_boot_setup() { found_boot=true grub_dev_label=Boot elif findfs LABEL=Root 2>&1 >/dev/null ; then - found_boot=true + found_boot=false grub_dev_label=Root fi if $found_boot; then @@ -56,8 +56,8 @@ ovirt_boot_setup() { grub_dev_label=&qu...
2010 May 10
1
[PATCH node] RESEND: fix iscsi installation problems
...scripts/ovirt-functions | 27 ++++++++++++++++++--------- 4 files changed, 45 insertions(+), 17 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index 9593905..15066f7 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -40,7 +40,7 @@ ovirt_boot_setup() { found_boot=true grub_dev_label=Boot elif findfs LABEL=Root 2>&1 >/dev/null ; then - found_boot=true + found_boot=false grub_dev_label=Root fi if $found_boot; then @@ -62,8 +62,8 @@ ovirt_boot_setup() { grub_dev_label=&qu...
2009 Sep 30
0
[PATCH node] RESEND: split root file systems out of HostVG onto separate partitions
...install | 2 ++ scripts/ovirt-functions | 8 +++++--- 4 files changed, 30 insertions(+), 23 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index ed2bb9f..01c1821 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -56,11 +56,11 @@ ovirt_boot_setup() { mkdir -p /liveos # prepare Root partition update candidate= - if [ -e /dev/HostVG/RootBackup ]; then + if [ -e /dev/disk/by-label/RootBackup ]; then candidate=RootBackup - elif [ -e /dev/HostVG/RootUpdate ]; then + elif [ -e /dev/disk/by-label/RootUpdate ]; t...
2010 Mar 23
2
[PATCH] Remove initrd patching from oc-boot
...-config-boot | 47 --------------------------------------------- 1 files changed, 0 insertions(+), 47 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index d13dad2..28d1572 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -143,53 +143,6 @@ ovirt_boot_setup() { fi fi - # append LVM support to the livecd initramfs - tmpdir=$(mktemp -d) - cd $tmpdir - gzip -dc $live/$syslinux/initrd0.img | - cpio -id init sbin/real-init - init_script=init - if [ -e sbin/real-init ]; then - # Fedora 10 mkliveinitrd -...
2009 Sep 05
1
[PATCH node] adjust init script patching for local boot on F11
...it already appends || : --- scripts/ovirt-config-boot | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index a40c03a..2961f76 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -107,7 +107,7 @@ ovirt_boot_setup() { # Fedora 10 mkliveinitrd init_script=sbin/real-init fi - sed -i '/^\/sbin\/udev.*settle/ a \ + sed -i '/^\/sbin\/udev.*trigger/ a \ echo SCSI wait for scans\ /sbin/modprobe scsi_wait_scan\ /sbin/modprobe -r scsi_wait_scan\ @@ -125,8 +125,6 @@ set -e\ ...
2011 Aug 05
1
[PATCH 1/2] update comparison for presenting dowgrade/upgrade/install/reinstall options
rhbz#691679 Signed-off-by: Joey Boggs <jboggs at redhat.com> --- scripts/ovirt-config-installer.py | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/ovirt-config-installer.py b/scripts/ovirt-config-installer.py index ff2ccc8..cacce5e 100644 --- a/scripts/ovirt-config-installer.py +++ b/scripts/ovirt-config-installer.py @@ -29,6 +29,7 @@ import
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.
...view qemu on F11 host kernel # https://bugzilla.redhat.com/show_bug.cgi?id=512358 etherboot-zroms-kvm +dracut-network diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index 470f57b..4c4e3d7 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -29,9 +29,28 @@ ovirt_boot_setup() { local disk2 local partN=-1 log "installing the image." + if [ -h /dev/disk/by-label/Boot ]; then + mount_boot + mountpoint /boot + if [ $? -ne 0 ] ; then + log "Boot partition not available" + return 1 + fi...
2009 Oct 22
0
[PATCH node] merge Root and /boot partitions
...stall | 5 +--- scripts/ovirt-functions | 12 +++++----- 4 files changed, 34 insertions(+), 59 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index dd53988..9ab06bd 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -29,9 +29,9 @@ ovirt_boot_setup() { local disk2 local partN=-1 log "installing the image." - mount_boot + mount_liveos # check that /boot mounted ok and find partition number for GRUB - eval $(readlink -f /dev/disk/by-label/BOOT|awk {' + eval $(readlink -f /dev/disk/by-label/RootBacku...
2010 Mar 23
0
[PATCH node] Fix uninstall to detect and cleanup correct partitions
...scripts/ovirt-functions | 33 +++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 29 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index 28d1572..ac43daa 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -50,12 +50,7 @@ ovirt_boot_setup() { fi # check that /boot mounted ok and find partition number for GRUB - eval $(readlink -f /dev/disk/by-label/$grub_dev_label|awk {' - print "disk=" substr($1,1,length($1)-1); - print "disk2=" substr($1,1,length($1)-2); - partN=substr($1,...
2010 Mar 23
1
[PATCH node][RFC] Fix uninstall to detect and cleanup correct partitions
...---- scripts/ovirt-functions | 27 ++++++++++++++++++++++ 3 files changed, 58 insertions(+), 29 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index d13dad2..bb46f49 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -50,12 +50,7 @@ ovirt_boot_setup() { fi # check that /boot mounted ok and find partition number for GRUB - eval $(readlink -f /dev/disk/by-label/$grub_dev_label|awk {' - print "disk=" substr($1,1,length($1)-1); - print "disk2=" substr($1,1,length($1)-2); - partN=substr($1,...
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...+++++++++----------------- tools/livecd-iso-to-iscsi | 3 + 3 files changed, 177 insertions(+), 121 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index 4c4e3d7..7978010 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -48,7 +48,7 @@ ovirt_boot_setup() { else grub_dev_label="RootBackup" fi - mount_liveos + # check that /boot mounted ok and find partition number for GRUB eval $(readlink -f /dev/disk/by-label/$grub_dev_label|awk {' print "disk=" substr($1,1,length($1)-1); @@ -62,54...
2010 Oct 26
0
[PATCH node] add install.py
...default is /live +# +# bootparams - extra boot parameters like console=... +# default is $OVIRT_BOOTPARAMS +# +# reboot - reboot after install +# default is yes + +from ovirtfunctions import * +import shutil +import sys + +def ovirt_boot_setup(): + + log("installing the image.") + + if OVIRT_VARS["OVIRT_ROOT_INSTALL"] == "n": + log("done.") + return + + found_boot=False + rc = os.system("findfs LABEL=Boot 2>&1 >/dev/null") + if rc == 0: + foun...
2009 Jul 31
1
[PATCH node] update method used to determine boot partition for install
...tall correctly. --- scripts/ovirt-config-boot | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index 5e7b9f0..d5c6abb 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -31,12 +31,12 @@ ovirt_boot_setup() { log "installing the image." mount_boot # check that /boot mounted ok and find partition number for GRUB - eval $(mount|awk '$3 == "/boot" { - print "disk=" substr($1,1,length($1)-1); - print "disk2=" substr($1,1,length(...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...----------------- scripts/ovirt-functions | 38 +++++----- 3 files changed, 111 insertions(+), 111 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index d545878..347fc18 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -88,7 +88,7 @@ ovirt_boot_setup() { rc=0 else candidate_dev=$(findfs LABEL=$candidate 2>/dev/null) - e2label $candidate_dev RootNew + e2label "$candidate_dev" RootNew rc=$? fi if [ $rc -ne 0 ]; then @@ -97,7 +97,7 @@ ovirt_boot_se...