<div dir="ltr">Dear All,<br><br><span style="font-size:10.0pt;line-height:115%;font-family:"Cambria","serif"">I am not able to get ssh of a remote server .
How will i get the console of the server. ( ssh is not working and vnc is also
not allowed .) . What is the otherway you can access the server ?<br><br>Please give the answer is very argent<br><br>regards,<br>Ayaz Khan<br></span><br><div class="gmail_quote">On Fri, Apr 20, 2012 at 2:27 PM, Michael Hayes M <span dir="ltr"><<a href="mailto:michael.m.hayes@ericsson.com">michael.m.hayes@ericsson.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi John,<br>
<br>
Adrian is correct in saying that you need to specify anything in the pre section, because it's then that anything can be set.<br>
<br>
If you put something into /tmp in the pre section, then before the pre section ends, copy it to /mnt/sysimage/tmp and then once in the post section, it will be in /tmp and available for you use.<br>
Basically, /tmp from the pre section is no longer available in the post section (but it is available in a post section if you specify --nochroot).<br>
What was in /mnt/sysimage/tmp is now in /tmp in the post section<br>
<br>
Cheers<br>
<br>
Mike<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: John Oliver [mailto:<a href="mailto:joliver@john-oliver.net">joliver@john-oliver.net</a>]<br>
Sent: 19 April 2012 15:05<br>
To: Discussion list about Kickstart<br>
Subject: Re: Can't get files to %include<br>
<br>
On Thu, Apr 19, 2012 at 12:56:50PM +0300, Adrian Cruceru wrote:<br>
> Hi John,<br>
><br>
> I think you should do all processing regarding %include in %pre,<br>
> anything in %post is too late to change %include statements (system is<br>
> already installed).<br>
><br>
> Regards,<br>
> Adrian<br>
><br>
> On 04/17/2012 03:49 PM, John Oliver wrote:<br>
> >RHEL 5.4  In %pre, I can %include /mnt/source/isolinux/setup-questions<br>
> >But if I first copy setup-questions to /tmp/ks-files/, I can no longer<br>
> >include it.  Nor do my %include statements in %post for files I copied<br>
> >to /tmp/ks-files/ work.  What's the deal?  How the heck do I get<br>
> >includes to work???<br>
<br>
Hi, Adrian.  I'm not sure what you mean by "it's too late"... it's an<br>
include.  I can't include something in %pre that must be done in %post<br>
<br>
And that doesn't explain why %include<br>
/mnt/source/isolinux/setup-questions works, but copying setup-questions<br>
to /tmp/ and then %include /tmp/setup-questions does not, even though<br>
/tmp/setup-questions exists, is readable, and contains the exact same<br>
code that works just fine when included from the DVD.<br>
<br>
I have several kickstarts, and chunks of code that are common to all of<br>
them.  I want to have those common chunks in one place, so when I need<br>
to make a change, I make it in one place and the change will<br>
automatically be seen by all kickstarts.  Just in case there's a<br>
question of terminology here.<br>
<br>
<br>
Thanks.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
***********************************************************************<br>
* John Oliver                             <a href="http://www.john-oliver.net/" target="_blank">http://www.john-oliver.net/</a> *<br>
*                                                                     *<br>
***********************************************************************<br>
<br>
<br>
<br>
_______________________________________________<br>
Kickstart-list mailing list<br>
<a href="mailto:Kickstart-list@redhat.com">Kickstart-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/kickstart-list" target="_blank">https://www.redhat.com/mailman/listinfo/kickstart-list</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>AyazPathan<br>
</div>