search for: disable_firstboot

Displaying 12 results from an estimated 12 matches for "disable_firstboot".

2009 Nov 16
1
Refactored upgrade patch...
This patch includes feedback from apevec to remain backward compatible with the previous karg, ovirt_local_boot.
2009 Nov 13
1
[PATCH] Provides an explicit upgrade path for an installed node.
...ovirt-config-networking AUTO ovirt-config-logging AUTO ovirt-config-collectd AUTO - ovirt-config-password AUTO - if [ "$OVIRT_LOCAL_BOOT" = 1 ]; then - mount_live - ovirt-config-boot /live "$OVIRT_BOOTPARAMS" no - disable_firstboot - reboot - fi - elif is_firstboot; then + ovirt-config-password AUTO + fi + + if is_upgrade; then + mount_live + ovirt-config-boot /live "$OVIRT_BOOTPARAMS" no + disable_firstboot + reboot + return + fi + + if is_f...
2009 Nov 16
2
Resend...
Resending the refactored patch: I realized after I emailed it that it referenced the wrong bugzilla.
2010 May 10
1
[PATCH node] RESEND: fix iscsi installation problems
...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-networking index 4d412ac..810d0e0 100755 --- a/scripts/...
2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...tup "$live" "$bootparams" +if [ "$OVIRT_ROOT_INSTALL" =="n" ]; then + log "done." + return +else + ovirt_boot_setup "$live" "$bootparams" +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..c91b0ea 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -172,7 +172,7 @@ check_partition_sizes() HOSTVG_NEED_SIZE=$(echo "scale=0;" \...
2010 Apr 01
2
[PATCH node 1/3] Enables ability to have a common shared root
...tup "$live" "$bootparams" +if [ "$OVIRT_ROOT_INSTALL" =="n" ]; then + log "done." + return +else + ovirt_boot_setup "$live" "$bootparams" +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" R...
2010 Apr 09
0
[PATCH node] fix iscsi installation problems
...>/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-networking index 4d412ac..810d0e0 100755 --- a/scripts/...
2010 Oct 26
0
[PATCH node] add install.py
...T_VARS["OVIRT_BOOTPARAMS"] +if doreboot == "": + doreboot="yes" + +if OVIRT_VARS["OVIRT_ROOT_INSTALL"] == "n": + log("done.") +else: + rc = ovirt_boot_setup() #(live, bootparams) +if rc == 0 and doreboot == "yes": + disable_firstboot() + if OVIRT_VARS["OVIRT_ISCSI_ENABLED"] != "y": + ovirt_store_firstboot_config() + reboot() -- 1.7.2.3
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...oot 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-storage b/scripts/ovirt-config-storage index f9a5b41..2...
2010 Feb 23
1
More complete patch...
This patch supercedes the previous one by moving the functionality for relocating files into the make system.
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...return False + +# was firstboot menu already shown? +# state is stored in persistent config partition +def is_firstboot(): + if not OVIRT_VARS.has_key("OVIRT_FIRSTBOOT") or OVIRT_VARS["OVIRT_FIRSTBOOT"] == 1: + return True + else: + return False + +def disable_firstboot(): + if mount_config: + firstboot = augeas.Augeas(root="/") + firstboot.set("/files/etc/defaults/ovirt/OVIRT_FIRSTBOOT", "0") + firstboot.set("/files/etc/defaults/ovirt/OVIRT_INIT", '""') + firstboot.set("...
2009 Oct 14
8
Refactor ovirt-node code base for inclusion in Fedora
Main reason for refactor is no ovirt-node-image binary image allowed in fedora. Moves tools and kickstart files form ovirt-node-image to subpackage ovirt-node-recipe. Removes old sub packages form ovirt-node, stateless, logos, selinux. Modifies init scripts to meet Fedora packaging guidelines: added status, reload, and lockfile, rhbz: 514221 Added License file.