|
Bugzilla – Full Text Bug Listing |
| Summary: | Print assigned IP address to the console | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.2 | Reporter: | Klaus Kämpf <kkaempf> |
| Component: | WebYaST | Assignee: | Ladislav Slezák <lslezak> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P2 - High | CC: | lslezak |
| Version: | RC 1 | ||
| Target Milestone: | Final | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | maint:released:sle11:29137 | ||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
Console screenshot of WebYaST virtual image booting
screenshot requested /etc/issue yastwc-ip-a.png: console screenshot ow yastwc printing the url Screenshot Patch for displaying the URL Improved version ... and the updated patch |
||
|
Description
Klaus Kämpf
2009-11-11 14:24:47 UTC
Hmm, how about starting 'yastwc' late and have it print the assigned IP address to the console ? Created attachment 326861 [details]
Console screenshot of WebYaST virtual image booting
Created attachment 328467 [details] 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/ please look at my suggestion in previous comment (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) (In reply to comment #3) > Created an attachment (id=328467) [details] > screenshot > > Hi, I look at that issue and I can do this one (see attachment). Thats perfect ! (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. Created attachment 328609 [details]
requested /etc/issue
Martin - could you patch file /etc/issue to attached one?
That does not help. In my VM (VBox NAT), \n says "linux". 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 Created attachment 329217 [details] yastwc-ip-a.png: console screenshot ow yastwc printing the url Screenshot using the snippet from comment 10 I like it. But is this visible enough for the casual user ? Created attachment 329365 [details]
Screenshot
What do you think about this proposal?
Created attachment 329366 [details]
Patch for displaying the URL
Patch for the previous screenshot
See bnc#558281 for the next step on the problem of discovery (In reply to comment #13) > Created an attachment (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 ?! Created attachment 329383 [details]
Improved version
Added tab at the beginning, check also the non-color version.
Created attachment 329385 [details]
... and the updated patch
(In reply to comment #17) > Created an attachment (id=329383) [details] > Improved version > > Added tab at the beginning, check also the non-color version. Perfect, thanks ! OK, I'll push it to the GIT repo and make a package. Fixed in yast2-webclient-0.0.22. Update released for: yast2-webclient Products: SLE-WEBYAST 1.0 (i386, x86_64) |