Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 295312 Details for
Bug 433491
[RHEL5] virt-install: error: no such option: --noreboot
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Add --noreboot flag
virtinst-0.300.2-noreboot.patch (text/plain), 1.47 KB, created by
Daniel Berrangé
on 2008-02-19 17:35:21 UTC
(
hide
)
Description:
Add --noreboot flag
Filename:
MIME Type:
Creator:
Daniel Berrangé
Created:
2008-02-19 17:35:21 UTC
Size:
1.47 KB
patch
obsolete
>diff -rup virtinst-0.300.2/virt-install virtinst-0.300.2.new/virt-install >--- virtinst-0.300.2/virt-install 2008-01-07 09:46:01.000000000 -0500 >+++ virtinst-0.300.2.new/virt-install 2008-02-19 12:23:55.000000000 -0500 >@@ -296,6 +296,8 @@ def parse_args(): > # Misc options > parser.add_option("-d", "--debug", action="store_true", dest="debug", > help=_("Print debugging information")) >+ parser.add_option("", "--noreboot", action="store_true", dest="noreboot", >+ help=_("Disables the automatic rebooting when the installation is complete.")) > > > (options,args) = parser.parse_args() >@@ -499,9 +501,13 @@ def main(): > print _("Domain installation does not appear to have been\n successful. If it was, you can restart your domain\n by running 'virsh start %s'; otherwise, please\n restart your installation.") %(guest.name,) > sys.exit(0) > >- print _("Guest installation complete... restarting guest.") >- dom.create() >- guest.connect_console(conscb) >+ if options.noreboot: >+ print _("Guest installation complete... you can restart your domain\n" >+ "by running 'virsh start %s'") %(guest.name,) >+ else: >+ print _("Guest installation complete... restarting guest.") >+ dom.create() >+ guest.connect_console(conscb) > except RuntimeError, e: > print >> sys.stderr, _("ERROR: "), e > sys.exit(1)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 433491
: 295312