search for: ovirt_root_install

Displaying 4 results from an estimated 4 matches for "ovirt_root_install".

2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...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 found_boot=true @@ -212,7 +218,12 @@ if [ -z "$doreboot" ]; then fi start_log -ovirt_boot_setup &quot...
2010 Apr 01
2
[PATCH node 1/3] Enables ability to have a common shared root
...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 found_boot=true @@ -212,7 +218,12 @@ if [ -z "$doreboot" ]; then fi start_log -ovirt_boot_setup &quot...
2010 Oct 26
0
[PATCH node] add install.py
...... +# 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: + found_boot = True + grub_dev_label = "Boot" + rc = os.system("findfs LABEL...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...fs \"%s\" -L Boot") % partboot + os.system("tune2fs -c 0 -i 0 %s") % partboot + if OVIRT_VARS["OVIRT_ISCSI_HOSTVG"] == "y": + create_hostvg() + log("Completed!") + return + + if OVIRT_VARS.has_key("OVIRT_ROOT_INSTALL") and OVIRT_VARS["OVIRT_ROOT_INSTALL"] == "y": + log("Partitioning root drive: %s") % ROOTDRIVE + wipe_partitions(ROOTDRIVE) + reread_partitions(ROOTDRIVE) + log("Labeling Drive: %s") % ROOTDRIVE + os.system("parte...