Joey Boggs
2010-Feb-16 21:24 UTC
[Ovirt-devel] [PATCH node] Save configuration defaults during uninstallation
For use during reinstallation. --- scripts/ovirt-config-uninstall | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/scripts/ovirt-config-uninstall b/scripts/ovirt-config-uninstall index f79d31c..7c05258 100755 --- a/scripts/ovirt-config-uninstall +++ b/scripts/ovirt-config-uninstall @@ -32,6 +32,7 @@ if ask_yes_or_no "Do you wish to continue and uninstall this node ([Y]es/[N]o)?" log "Uninstalling node" log "Detaching logging" unmount_logging + unmount_config /etc/default/ovirt log "Removing volume group" wipe_volume_group "HostVG" partition=$(findfs LABEL=Root) -- 1.6.6
Store configuration defaults on a automated install
---
scripts/ovirt-firstboot | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/scripts/ovirt-firstboot b/scripts/ovirt-firstboot
index b992909..288c133 100755
--- a/scripts/ovirt-firstboot
+++ b/scripts/ovirt-firstboot
@@ -58,6 +58,7 @@ start ()
mount_live
ovirt-config-boot /live "$OVIRT_BOOTPARAMS" no
disable_firstboot
+ ovirt_store_firstboot_config
reboot
return
fi
--
1.6.6
Darryl L. Pierce
2010-Mar-03 20:39 UTC
[Ovirt-devel] [PATCH node] Save configuration defaults during uninstallation
On Tue, Feb 16, 2010 at 04:24:58PM -0500, Joey Boggs wrote:> For use during reinstallation. > --- > scripts/ovirt-config-uninstall | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/scripts/ovirt-config-uninstall b/scripts/ovirt-config-uninstall > index f79d31c..7c05258 100755 > --- a/scripts/ovirt-config-uninstall > +++ b/scripts/ovirt-config-uninstall > @@ -32,6 +32,7 @@ if ask_yes_or_no "Do you wish to continue and uninstall this node ([Y]es/[N]o)?" > log "Uninstalling node" > log "Detaching logging" > unmount_logging > + unmount_config /etc/default/ovirt > log "Removing volume group" > wipe_volume_group "HostVG" > partition=$(findfs LABEL=Root) > -- > 1.6.6 > > _______________________________________________ > Ovirt-devel mailing list > Ovirt-devel at redhat.com > https://www.redhat.com/mailman/listinfo/ovirt-develACK. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20100303/51c9e3c8/attachment.sig>
Darryl L. Pierce
2010-Mar-03 20:40 UTC
[Ovirt-devel] [PATCH node] store configuration defaults
On Tue, Feb 16, 2010 at 04:24:59PM -0500, Joey Boggs wrote:> Store configuration defaults on a automated install > --- > scripts/ovirt-firstboot | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/scripts/ovirt-firstboot b/scripts/ovirt-firstboot > index b992909..288c133 100755 > --- a/scripts/ovirt-firstboot > +++ b/scripts/ovirt-firstboot > @@ -58,6 +58,7 @@ start () > mount_live > ovirt-config-boot /live "$OVIRT_BOOTPARAMS" no > disable_firstboot > + ovirt_store_firstboot_config > reboot > return > fi > -- > 1.6.6 > > _______________________________________________ > Ovirt-devel mailing list > Ovirt-devel at redhat.com > https://www.redhat.com/mailman/listinfo/ovirt-develACK. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20100303/cdec822a/attachment.sig>