Displaying 7 results from an estimated 7 matches for "ovirt_upgrade".
2009 Nov 16
2
Resend...
Resending the refactored patch: I realized after I emailed it that it
referenced the wrong bugzilla.
2009 Nov 13
1
[PATCH] Provides an explicit upgrade path for an installed node.
This patch allows the node to be upgraded without destroying any
configuration. The new kernel argument, ovirt_upgrade, will boot cause
the node to install the upgraded image, then reboot.
Resolves: rhbz#527217
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
scripts/ovirt-early | 14 +++++++-------
scripts/ovirt-firstboot | 22 +++++++++++++---------
scripts/ovirt-functions | 12 +++++...
2009 Nov 16
1
Refactored upgrade patch...
This patch includes feedback from apevec to remain backward compatible
with the previous karg, ovirt_local_boot.
2011 Aug 30
0
[PATCH node] don't trigger upgrade when local_boot_trigger is passed
...changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/ovirt-early b/scripts/ovirt-early
index fa24720..fa7d1f5 100755
--- a/scripts/ovirt-early
+++ b/scripts/ovirt-early
@@ -464,7 +464,7 @@ start_ovirt_early () {
fi
done
;;
- upgrade* | ovirt_upgrade* | local_boot* | ovirt_local_boot*)
+ upgrade* | ovirt_upgrade* | local_boot | local_boot=* | ovirt_local_boot*)
upgrade=1
if ! grep -q admin /etc/passwd; then
unmount_config /etc/passwd /etc/shadow
--
1.7.6
2010 Jul 21
0
[PATCH] RFC: Advanced Storage Configuration
...vol_root_size=
@@ -228,6 +234,11 @@ start_ovirt_early () {
# or a specific positive number in MB
vol_data_size=
+ # swap2 and data2 will be placed into AppVG, 0 disables, data2
+ # can be -1 or a positive number in MB for each
+ vol_swap2_size=
+ vol_data2_size=
+
# ovirt_upgrade
# install/update oVirt Node image on the local installation target disk
upgrade=
@@ -320,46 +331,172 @@ start_ovirt_early () {
esac
;;
ovirt_init*)
- i=${i#ovirt_init}
- if [ -n "$i" ]; then
- # resolve...
2010 Jul 21
0
[PATCH] RFC: Encrypted swap support
...-239,6 +239,12 @@ start_ovirt_early () {
vol_swap2_size=
vol_data2_size=
+ # ovirt_swap_encrypt={Swap|Swap2},cypher1[:cypher2...][;{Swap|Swap2}...]
+ # request swap encryption
+ # the default cypher is set to aes-cbc-essiv:sha256
+ crypt_swap=
+ crypt_swap2=
+
# ovirt_upgrade
# install/update oVirt Node image on the local installation target disk
upgrade=
@@ -572,6 +578,32 @@ start_ovirt_early () {
BOOT_IMAGE=* | initrd=* | check | linux | liveimg | \
root=* | rootfstype=* | rootflags=* | ro)
;;
+ ovirt_swap_en...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...es are set
+def is_auto_install():
+ if OVIRT_VARS.has_key("OVIRT_BOOTIF") and OVIRT_VARS.has_key("OVIRT_INIT"):
+ return True
+ else:
+ return False
+
+# return 0 if this is an upgrade
+# return 1 otherwise
+def is_upgrade():
+ if OVIRT_VARS.has_key("OVIRT_UPGRADE") and OVIRT_VARS["OVIRT_UPGRADE"] == 1:
+ return True
+ else:
+ return False
+
+# return 0 if booted from local disk
+# return 1 if booted from other media
+def is_booted_from_local_disk():
+ ret = os.system("grep -q /dev/HostVG/ /proc/cmdline")
+ if...