This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


RE: [Xen-users] XCP noob question

To: "Marco Nenciarini" <mnencia@xxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] XCP noob question
From: "Joe Linoff" <jlinoff@xxxxxxxxxx>
Date: Fri, 26 Nov 2010 10:45:27 -0800
Cc: Joe Linoff <jlinoff@xxxxxxxxxx>
Delivery-date: Fri, 26 Nov 2010 10:46:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CEF7DBF.2020804@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <8AD4194C251EC74CB897E261038F447868FB87@xxxxxxxxxxxxxxxxxxx> <4CEF7DBF.2020804@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuNTHkD5EbcpV4GT2C1/l7CfFSlbAATSr2Q
Thread-topic: [Xen-users] XCP noob question
Hi Marco:

Thank you very much. That is exactly what I needed to know.

Do you know whether this is documented anywhere? I tried to read
everything I could get my hands on before posting this question but I
didn't see it. BTW, it is perfectly fine if the documentation is only in
the source code somewhere, I just need a hint or two about where to look
before posting my next NOOB question :-)



-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Marco
Sent: Friday, November 26, 2010 1:29 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] XCP noob question

On 25/11/2010 17:02, Joe Linoff wrote:
> Hi Folks:
> Where is the root filesystem mounted when the answerfile 
> post-install-script is executed? I want to create a directory tree 
> called /opt/foo/bar.
> I read here (http://www.cmschill.net/StringTheory/tag/installation/)
> that the root filesystem was mounted under /tmp/root but I didn't see 
> any confirmation in the documentation.

The root mountpoint is passed as first argument of post-install-script.
The following code should do the trick.



mkdir -p $ROOT/opt/foo/bar


|    Marco Nenciarini    | Debian/GNU Linux Developer - Plug Member |
| mnencia@xxxxxxxxxxxxxx | http://www.prato.linux.it/~mnencia       |
Key fingerprint = FED9 69C7 9E67 21F5 7D95  5270 6864 730D F095 E5E4

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>