I mean there are few thing I changed in lxc-fedora script for setting up a fedora 13 instance.<div>Don't forget to change the line 187 too:<br>cat <<EOF > $rootfs/etc/fstab<br><br></div><div><pre class="bz_comment_text" id="comment_text_8">
In addition I customized the lines 21 and 23 in lxc-ls script:

echo -n "Available instances: "; ls $* $lxcpath

echo -n "Active instances: " ; active=$(netstat -xa | grep $lxcpath | \
        sed -e 's#.*'"$lxcpath/"'\(.*\)/command#\1#');</pre><div><br></div><div>Vic</div><div><br></div><div><br><div class="gmail_quote">2010/9/2 v1t03k <span dir="ltr"><<a href="mailto:v1t03k@googlemail.com">v1t03k@googlemail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Guys,<div><br></div><div>I'm testing here right now some lxc template scripts.</div><div>I have here some troubles with setting up a debian instance on Fedora 13 (2.6.34.6-47.fc13.x86_64).</div>
<div><br></div><div>First, I can't setup a lenny system on my Fedora 13 host. I get these errors:</div>
<div><pre>I: Configuring apt...
I: Configuring openssh-server...
I: Configuring perl...
I: Configuring libui-dialog-perl...
W: Failure while configuring base packages.
I: Configuring openssh-server...
W: Failure while configuring base packages.
W: Failure while configuring base packages.
W: Failure while configuring base packages.
W: Failure while configuring base packages.
Failed to download the rootfs, aborting.
Failed to download 'debian base'
failed to install debian
failed to execute template 'debian'
</pre><pre><br></pre>But Debian squeeze is working well. I did two changes to the lxc-debian script:<br>-> Change line 93 to "dhcpd" insteed of dhcp-client for lenny<br>
-> and line 113 from lenny to squeeze release.</div><div><br></div><div>Is it a problem of the old glibc on lenny. I can't figure out what the problem is....</div><div><br></div><div>Second, setting up a fedora 10 VM isn't working too. I get similar errors:</div>

<div><div>/bin/bash: /var/cache/lxc/fedora/partial-x86_64/lib64/libc.so.6: version `GLIBC_2.11' not found (required by /bin/bash)</div><div>/bin/bash: /var/cache/lxc/fedora/partial-x86_64/lib64/libc.so.6: version `GLIBC_2.11' not found (required by /bin/bash)</div>

<div>/usr/bin/febootstrap: line 93: 26634 Segmentation fault      (core dumped) febootstrap-run "$target" -- rm -rf /var/cache/yum/febootstrap-updates</div><div>Failed to download the rootfs, aborting.</div><div>

Failed to download 'fedora base'</div><div>failed to install fedora</div><div>failed to execute template 'fedora'</div></div><div><br></div><div>I think we should move to the newest releases by the new lxc tools version.</div>

<div><br></div><div>There are few things in lxc-fedora script that are not needed for setup a fedora 13 system:</div><div>-> Line 27 changed to: Fedora-13 release</div><div><br></div><div>-> Line 39 changed to: cat <<EOF > $rootfs/etc/sysconfig/network-scripts/ifcfg-eth0</div>

<div>DEVICE=eth0</div><div>EOF</div><div><br></div><div>-> Deleted the whole section on line 56</div><div><br></div><div>-> Deleted all lines from 85 to 109</div><div><br></div><div>-> keepd only these one</div>
<div>
chroot $rootfs /bin/bash -c 'cd /etc/init; for f in $(ls plymouth*.conf); do mv $f $f.orig; done'</div><div><br></div><div><br></div><div>Can anybody confirm what we really need for setting up a fedora 13 instance???</div>

<div><br></div><div><br></div><div>Greetings</div><div><br></div><div>Vic</div><div><br></div>
</blockquote></div><br></div></div>