search for: doreboot

Displaying 9 results from an estimated 9 matches for "doreboot".

Did you mean: noreboot
2010 Oct 26
0
[PATCH node] add install.py
...int " default is \"$OVIRT_BOOTPARAMS\"" + print "" + print " reboot - reboot after install, default is yes" + sys.exit(1) + +if len(sys.argv) < 3: + Usage() + +live = sys.argv[1] +bootparams = sys.argv[2] +try: + doreboot=sys.argv[3] + doreboot="no" +except: + doreboot = "yes" + +if bootparams is None: + bootparams=OVIRT_VARS["OVIRT_BOOTPARAMS"] +if doreboot == "": + doreboot="yes" + +if OVIRT_VARS["OVIRT_ROOT_INSTALL"] == "n": + lo...
2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...stalling 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 "$live" "$bootparams" +if [ "$OVIRT_ROOT_INSTALL" =="n" ]; then + log "done." + return +else + ovirt_boot_setup "$live" "$bootparams" +fi rc=$? if [ $rc -eq 0 -a "$...
2010 Apr 01
2
[PATCH node 1/3] Enables ability to have a common shared root
...stalling 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 "$live" "$bootparams" +if [ "$OVIRT_ROOT_INSTALL" =="n" ]; then + log "done." + return +else + ovirt_boot_setup "$live" "$bootparams" +fi rc=$? if [ $rc -eq 0 -a "$...
2010 Mar 23
1
[PATCH node][RFC] Remove dependencies on /dev/disk/by-label entries
...ootNew rc=$? fi @@ -90,7 +97,7 @@ ovirt_boot_setup() { return $rc fi - mount $candidate_dev /liveos + mount $candidate_dev /liveos/ rm -rf /liveos/LiveOS mkdir -p /liveos/LiveOS @@ -212,11 +219,7 @@ if [ $rc -eq 0 -a "$doreboot" = "yes" ]; then ovirt_store_firstboot_config stop_log - if [ "$OVIRT_ISCSI_ENABLED" != "y" ]; then - reboot - else - /sbin/reboot - fi + reboot fi stop_log exit $rc diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-...
2010 May 10
1
[PATCH node] RESEND: fix iscsi installation problems
...low 0 as a partition number for grub + get_part_info $(readlink -f $(findfs LABEL=$grub_dev_label 2>/dev/null)) disk partN y rc=$? if [ $rc -ne 0 -o $partN -lt 0 ]; then log "unable to determine Root partition" @@ -228,7 +228,9 @@ fi rc=$? if [ $rc -eq 0 -a "$doreboot" = "yes" ]; then disable_firstboot - ovirt_store_firstboot_config + if [ "$OVIRT_ISCSI_ENABLED" != "y" ]; then + ovirt_store_firstboot_config + fi stop_log reboot diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-...
2010 Apr 09
0
[PATCH node] fix iscsi installation problems
...$(readlink -f $(findfs LABEL=$grub_dev_label 2>/dev/null)) disk partN y rc=$? if [ $rc -ne 0 -o $partN -lt 0 ]; then log "unable to determine Root partition" @@ -217,7 +217,9 @@ ovirt_boot_setup "$live" "$bootparams" rc=$? if [ $rc -eq 0 -a "$doreboot" = "yes" ]; then disable_firstboot - ovirt_store_firstboot_config + if [ "$OVIRT_ISCSI_ENABLED" != "y" ]; then + ovirt_store_firstboot_config + fi stop_log reboot diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-...
2010 Mar 24
2
[PATCH node][REPOST 1/2] Fix uninstall to detect and cleanup correct partitions
Previous implementation had staticly defined partitions to remove. This would break in the case of split Root and HostVG devices. Signed-off-by: Mike Burns <mburns at redhat.com> --- scripts/ovirt-config-boot | 11 +-------- scripts/ovirt-config-uninstall | 48 ++++++++++++++++++++++++--------------- scripts/ovirt-functions | 33 +++++++++++++++++++++++++++ 3 files
2012 Nov 06
4
apcupsd
Anyone else around using apcupsd? I seem to be seeing a problem, and I'd like someone to check me on it: I edit /etc/apcupsd/apccontrol to replace the value of SHUTDOWN from /sbin/shutdown to /bin/false (we don't want 3 or 6 servers shutting down over a 2 second or so blip, which it really wants to do). What's happened is that a machine shut down the other day, and looking at it, I
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...+ umount /liveos + # mark new Root ready to go, reboot() in ovirt-function switches it to active + e2label $candidate_dev RootUpdate + fi rm -rf $tmpdir if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then @@ -253,7 +267,12 @@ if [ $rc -eq 0 -a "$doreboot" = "yes" ]; then disable_firstboot ovirt_store_firstboot_config stop_log - reboot + + if [ "$OVIRT_ISCSI_ENABLED" != "y" ]; then + reboot + else + /sbin/reboot + fi fi stop_log exit $rc diff --git a/scripts/ovirt-config-...