Displaying 13 results from an estimated 13 matches for "is_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.
..._live
ovirt-config-boot /live "$bootparams"
diff --git a/scripts/ovirt-firstboot b/scripts/ovirt-firstboot
index bdafb33..650dcf7 100755
--- a/scripts/ovirt-firstboot
+++ b/scripts/ovirt-firstboot
@@ -32,7 +32,7 @@ trap 'exit $?' 1 2 13 15
start ()
{
- if ! is_firstboot && ! is_auto_install; then
+ if ! is_firstboot && ! is_auto_install && ! is_upgrade; then
return
fi
@@ -46,14 +46,18 @@ start ()
ovirt-config-networking AUTO
ovirt-config-logging AUTO
ovirt-config-collectd AUTO
- ovirt-config-pas...
2009 Nov 16
2
Resend...
Resending the refactored patch: I realized after I emailed it that it
referenced the wrong bugzilla.
2009 Jul 15
1
[PATCH node] Changes the exit/continue based on context.
...NS[${#OPTIONS[*]}]="$CONTINUE"
+
+
while true; do
PS3="Please select an option: "
diff --git a/scripts/ovirt-firstboot b/scripts/ovirt-firstboot
index 844f689..4160e63 100755
--- a/scripts/ovirt-firstboot
+++ b/scripts/ovirt-firstboot
@@ -55,7 +55,7 @@ start ()
elif is_firstboot; then
plymouth --hide-splash
- ovirt-config-setup < /dev/console
+ ovirt-config-setup -x < /dev/console
plymouth --show-splash
fi
--
1.6.2.5
2010 Mar 11
1
[PATCH] Changes the start/stop/reload method names for sysvinit scripts.
...boot
@@ -28,18 +28,18 @@
. /usr/libexec/ovirt-functions
prog=ovirt-firstboot
-lockfile=/var/lock/subsys/$prog
+VAR_SUBSYS_OVIRT_FIRSTBOOT=/var/lock/subsys/$prog
trap '__st=$?; stop_log; exit $__st' 0
trap 'exit $?' 1 2 13 15
-start ()
+start_ovirt_firstboot ()
{
if ! is_firstboot && ! is_auto_install && ! is_upgrade; then
return
fi
-
- touch $lockfile
+
+ touch $VAR_SUBSYS_OVIRT_FIRSTBOOT
# by default in standalone, disable collectd until server is configured
service collectd stop > /dev/null 2>&1
@@ -74,7 +74,17 @@ st...
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
2010 Jul 21
0
[PATCH] RFC: Advanced Storage Configuration
...existingHostVG=$?
+ existingAppVG=1
+ if [ -n "$APPVGDRIVE" ]; then
+ check_existing_hostvg "$APPVGDRIVE" devs "AppVG"
+ existingAppVG=$?
+ fi
# ... unless overridden by ovirt_firstboot parameter
- if is_firstboot || [ $existingHostVG -ne 0 ]; then
+ if is_firstboot || [ $existingHostVG -ne 0 -a $existingAppVG -ne 0 ]; then
if check_partition_sizes; then
log "Partitioning hard disk..."
perform_partitioning
diff --git a/scripts/ovirt-early b/scri...
2011 Aug 11
1
[PATCH] fix augtool calls
parse input augtool strings to oper,key,value
---
scripts/network.py | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/scripts/network.py b/scripts/network.py
index f51ee7c..65b551c 100644
--- a/scripts/network.py
+++ b/scripts/network.py
@@ -165,11 +165,11 @@ class Network:
ntpconf = ntpconf.split("\n")
for line
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...t if HostVG exists on selected disk...
- pvs -o vg_name --noheadings $DRIVE* 2>/dev/null|grep -q -m1 "HostVG"
+ pvs -o vg_name --noheadings $HOSTVGDRIVE* 2>/dev/null|grep -q -m1 "HostVG"
existingHostVG=$?
# ... unless overridden by ovirt_firstboot parameter
if is_firstboot || [ $existingHostVG -ne 0 ]; then
@@ -529,7 +567,7 @@ if [ "$1" == "AUTO" ]; then
log "Missing device parameter: unable to partition any disk"
fi
else
- OPTIONS="\"Configure\" \"Review\" \"Commit Changes And Quit\" \"...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...[ -n "$OVIRT_INIT" ]; then
# do not format if HostVG exists on selected disk...
- check_existing_hostvg $HOSTVGDRIVE
+ check_existing_hostvg "$HOSTVGDRIVE"
existingHostVG=$?
# ... unless overridden by ovirt_firstboot parameter
if is_firstboot || [ $existingHostVG -ne 0 ]; then
diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions
index d8aa008..edf6267 100644
--- a/scripts/ovirt-functions
+++ b/scripts/ovirt-functions
@@ -148,7 +148,7 @@ EOF
#
wipe_volume_group()
{
- vg=$1
+ vg="$1"
for d in $(grep $vg...
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.
...n 1 if booted from other media
+def is_booted_from_local_disk():
+ ret = os.system("grep -q /dev/HostVG/ /proc/cmdline")
+ if ret == 0:
+ return True
+ else:
+ 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("...
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.