Mike Burns
2009-Jul-22 22:14 UTC
[Ovirt-devel] [PATCH][node] Fixed typo in o-c-networking that was causing loss of ifcfg-lo
From: Michael Burns <mburns at redhat.com> Was backing up to backup.log and restoring from backup.lo. Fixed to use lo in both places. Signed-off-by: Michael Burns <mburns at redhat.com> --- scripts/ovirt-config-networking | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index 5443523..cc7626b 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -88,7 +88,7 @@ function configure_interface printf "This will delete the current configuration for ${CONFIGURED_NIC}.\n" if ask_yes_or_no "Do you wish to continue (y/n)?"; then printf "\nDeleting existing network configuration...\n" - cp -a /etc/sysconfig/network-scripts/ifcfg-lo /etc/sysconfig/network-scripts/backup.log + cp -a /etc/sysconfig/network-scripts/ifcfg-lo /etc/sysconfig/network-scripts/backup.lo remove_config /etc/sysconfig/network-scripts/ifcfg-* rm -rf /etc/sysconfig/network-scripts/ifcfg-* cp -a /etc/sysconfig/network-scripts/backup.lo /etc/sysconfig/network-scripts/ifcfg-lo -- 1.6.2.5
Darryl L. Pierce
2009-Jul-22 22:24 UTC
[Ovirt-devel] [PATCH][node] Fixed typo in o-c-networking that was causing loss of ifcfg-lo
On Wed, Jul 22, 2009 at 06:14:27PM -0400, Mike Burns wrote:> From: Michael Burns <mburns at redhat.com> > > Was backing up to backup.log and restoring from backup.lo. > Fixed to use lo in both places. > > Signed-off-by: Michael Burns <mburns at redhat.com> > --- > scripts/ovirt-config-networking | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking > index 5443523..cc7626b 100755 > --- a/scripts/ovirt-config-networking > +++ b/scripts/ovirt-config-networking > @@ -88,7 +88,7 @@ function configure_interface > printf "This will delete the current configuration for ${CONFIGURED_NIC}.\n" > if ask_yes_or_no "Do you wish to continue (y/n)?"; then > printf "\nDeleting existing network configuration...\n" > - cp -a /etc/sysconfig/network-scripts/ifcfg-lo /etc/sysconfig/network-scripts/backup.log > + cp -a /etc/sysconfig/network-scripts/ifcfg-lo /etc/sysconfig/network-scripts/backup.lo > remove_config /etc/sysconfig/network-scripts/ifcfg-* > rm -rf /etc/sysconfig/network-scripts/ifcfg-* > cp -a /etc/sysconfig/network-scripts/backup.lo /etc/sysconfig/network-scripts/ifcfg-lo > -- > 1.6.2.5 > > _______________________________________________ > 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. Virtual Machine Management - http://www.ovirt.org/ Is fearr Gaeilge bhriste n? B?arla cliste. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090722/99688f99/attachment.sig>