[Bug 554556] New: Print assigned IP address to the console
http://bugzilla.novell.com/show_bug.cgi?id=554556 Summary: Print assigned IP address to the console Classification: openSUSE Product: openSUSE 11.2 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: WebYaST AssignedTo: jsrain@novell.com ReportedBy: kkaempf@novell.com QAContact: qa@suse.de Found By: Development When booting a webyast appliance (in VirtualBox), I am presented with <see attachment>. Whats missing, is an information about the assigned IP address and thus the URL I have to type into a browser to connect to the appliance. Request: Add something (a /etc/init.d script run at the end of the boot process ?) to print the assigned IP adress or - maybe even better - a complete URL to type into a browser (i.e. replace the "Welcome SUSE Linux Enterprise ..." with "Welcome to WebYaST, navigate to https://....:54984 with your browser to connect") Jiri, maybe someone from your team wants to tackle this. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=554556#c1 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium --- Comment #1 from Klaus Kämpf <kkaempf@novell.com> 2009-11-11 07:25:39 MST --- Hmm, how about starting 'yastwc' late and have it print the assigned IP address to the console ? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=554556#c2 --- Comment #2 from Klaus Kämpf <kkaempf@novell.com> 2009-11-11 07:27:36 MST --- Created an attachment (id=326861) --> (http://bugzilla.novell.com/attachment.cgi?id=326861) Console screenshot of WebYaST virtual image booting -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c3 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsrain@novell.com |jreidinger@novell.com --- Comment #3 from Josef Reidinger <jreidinger@novell.com> 2009-11-19 15:59:07 UTC --- Created an attachment (id=328467) --> (http://bugzilla.novell.com/attachment.cgi?id=328467) screenshot Hi, I look at that issue and I can do this one (see attachment). I cannot print ip adress as issue doesn't support it (system often have more then one). Is it sufficient solution of show we create better one? (e.g. write to etc/issue hard ip adress in some hack in network start script, but it is quite offensive change). you can try it if you put this text to /etc/issue: Based on SUSE Linux Enterprise Server 11 (i586) - Kernel \r (\l). Welcome to Webyast - to run point your browser to https://\n:54984/ -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c4 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |kkaempf@novell.com --- Comment #4 from Josef Reidinger <jreidinger@novell.com> 2009-11-19 15:59:44 UTC --- please look at my suggestion in previous comment -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c5 --- Comment #5 from Klaus Kämpf <kkaempf@novell.com> 2009-11-19 18:22:23 UTC --- (In reply to comment #3)
I cannot print ip adress as issue doesn't support it (system often have more then one).
We're talking about appliances here, so only one network interface. For now, use "eth0". (Should be the vendor configured one later) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c6 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|kkaempf@novell.com | --- Comment #6 from Klaus Kämpf <kkaempf@novell.com> 2009-11-19 18:23:25 UTC --- (In reply to comment #3)
Created an attachment (id=328467) --> (http://bugzilla.novell.com/attachment.cgi?id=328467) [details] screenshot
Hi, I look at that issue and I can do this one (see attachment).
Thats perfect ! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c7 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jreidinger@novell.com |mvidner@novell.com --- Comment #7 from Josef Reidinger <jreidinger@novell.com> 2009-11-20 08:54:29 UTC --- (In reply to comment #5)
(In reply to comment #3)
I cannot print ip adress as issue doesn't support it (system often have more then one).
We're talking about appliances here, so only one network interface. For now, use "eth0". (Should be the vendor configured one later)
It is not limitation of my code but login which print message from issue. So to have ip we need patch system quite lot (we should modify during boot /etc/issue or similar thing). So for now we should use hostname (is correct dhcp assigned host). I reassign it to martin to add patch for /etc/issue file. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c8 --- Comment #8 from Josef Reidinger <jreidinger@novell.com> 2009-11-20 08:55:31 UTC --- Created an attachment (id=328609) --> (http://bugzilla.novell.com/attachment.cgi?id=328609) requested /etc/issue Martin - could you patch file /etc/issue to attached one? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c9 --- Comment #9 from Martin Vidner <mvidner@novell.com> 2009-11-20 09:27:30 UTC --- That does not help. In my VM (VBox NAT), \n says "linux". -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c10 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 - Medium |P2 - High Target Milestone|--- |Final --- Comment #10 from Klaus Kämpf <kkaempf@novell.com> 2009-11-20 10:52:46 UTC --- This needs fixing, esp. because of #552548 Can't we just use something like ifconfig eth0 | grep "inet addr" | cut -d ":" -f 2 | cut -d " " -f 1 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c11 --- Comment #11 from Martin Vidner <mvidner@novell.com> 2009-11-24 14:21:14 UTC --- Created an attachment (id=329217) --> (http://bugzilla.novell.com/attachment.cgi?id=329217) yastwc-ip-a.png: console screenshot ow yastwc printing the url Screenshot using the snippet from comment 10 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c12 --- Comment #12 from Klaus Kämpf <kkaempf@novell.com> 2009-11-24 14:49:10 UTC --- I like it. But is this visible enough for the casual user ? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c13 --- Comment #13 from Ladislav Slezak <lslezak@novell.com> 2009-11-25 07:38:05 UTC --- Created an attachment (id=329365) --> (http://bugzilla.novell.com/attachment.cgi?id=329365) Screenshot What do you think about this proposal? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c14 --- Comment #14 from Ladislav Slezak <lslezak@novell.com> 2009-11-25 07:41:15 UTC --- Created an attachment (id=329366) --> (http://bugzilla.novell.com/attachment.cgi?id=329366) Patch for displaying the URL Patch for the previous screenshot -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c15 --- Comment #15 from Klaus Kämpf <kkaempf@novell.com> 2009-11-25 09:05:20 UTC --- See bnc#558281 for the next step on the problem of discovery -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c16 --- Comment #16 from Klaus Kämpf <kkaempf@novell.com> 2009-11-25 09:06:33 UTC --- (In reply to comment #13)
Created an attachment (id=329365) --> (http://bugzilla.novell.com/attachment.cgi?id=329365) [details] Screenshot
What do you think about this proposal?
Yeah, thats better. We might even add a newline and a tab in front to make it visible on non-color terminals ?! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c17 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #329365|0 |1 is obsolete| | --- Comment #17 from Ladislav Slezak <lslezak@novell.com> 2009-11-25 09:17:51 UTC --- Created an attachment (id=329383) --> (http://bugzilla.novell.com/attachment.cgi?id=329383) Improved version Added tab at the beginning, check also the non-color version. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c18 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #329366|0 |1 is obsolete| | --- Comment #18 from Ladislav Slezak <lslezak@novell.com> 2009-11-25 09:20:01 UTC --- Created an attachment (id=329385) --> (http://bugzilla.novell.com/attachment.cgi?id=329385) .. and the updated patch -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c19 --- Comment #19 from Klaus Kämpf <kkaempf@novell.com> 2009-11-25 09:56:06 UTC --- (In reply to comment #17)
Created an attachment (id=329383) --> (http://bugzilla.novell.com/attachment.cgi?id=329383) [details] Improved version
Added tab at the beginning, check also the non-color version.
Perfect, thanks ! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c20 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|mvidner@novell.com |lslezak@novell.com --- Comment #20 from Ladislav Slezak <lslezak@novell.com> 2009-11-25 10:01:32 UTC --- OK, I'll push it to the GIT repo and make a package. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c21 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #21 from Ladislav Slezak <lslezak@novell.com> 2009-11-25 10:57:42 UTC --- Fixed in yast2-webclient-0.0.22. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=554556 http://bugzilla.novell.com/show_bug.cgi?id=554556#c22 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:sle11:29137 --- Comment #22 from Swamp Workflow Management <swamp@suse.com> 2009-12-02 20:53:31 UTC --- Update released for: yast2-webclient Products: SLE-WEBYAST 1.0 (i386, x86_64) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com