I've been using LXC extensively on my openSUSE 12.3 for awhile...

1. Why are you running this script and where was it recommended?
2. Have you tried simply installing lxc, eg
zypper in lxc
3.  I highly recommend installing the YAST LXC applet, and perhaps the
LXC Control Center (I don't really use it... yet)
So to install all including lxc,
zypper in lxc lxcc yast2-lxc

If your bridge utils aren't installed, install them
zypper in bridge-utils

Before creating a Container, you will need to create a transparent
bridge to access and configure networking, although a standard
documentation describes creating in YAST (which requires classic
ifup/ifdown configuration), I instead highly recommend creating a
bridge using libvirt

zypper in libvirt libvirt-client libvirt-python

You should then see in YAST a virtualization section and within it vm manager.
Open vm manager, Edit Connection, Virtual Networks tab, inspect what
you have by default and perhaps add a new custom network with your own
specifications.

After you do that, you can verify the bridge device exists by running
the following and you should see a device starting with "virbr"

brctl show

Now, create your Container referencing your virbr device for
networking (from command line or more easily using the YAST LXC
applet).

If you have more questions, post again but be sure to include the
version of openSUSE you're running.

HTH,
Tony





On Fri, Aug 9, 2013 at 7:48 AM, Per Jessen <[email protected]> wrote:
> Per Jessen wrote:
>
>> I'm just getting started with lxc, and tried to use the lxc-opensuse
>> script:
>>
>> [big snip - download stuff etc]
>> Scanning scripts ...
>> Resolve dependencies ...
>> Install symlinks in /lib/mkinitrd/setup ...
>> Install symlinks in /lib/mkinitrd/boot ...
>>
>> Kernel image:   /boot/vmlinuz-3.7.10-1.16-debug
>> Initrd image:   /boot/initrd-3.7.10-1.16-debug
>> Kernel Modules: <not available>
>> Could not find map -k/boot/System.map, please specify a correct file
>> with -M.
>> There was an error generating the initrd (9)
>>
>> [snip]
>> Resolve dependencies ...
>> Install symlinks in /lib/mkinitrd/setup ...
>> Install symlinks in /lib/mkinitrd/boot ...
>>
>> Kernel image:   /boot/vmlinuz-3.7.10-1.16-debug
>> Initrd image:   /boot/initrd-3.7.10-1.16-debug
>> device node not found
>> root device (/dev/cciss/c0d0p2) not found
>> There was an error generating the initrd (1)
>> warning: %posttrans(mkinitrd-2.7.2-3.2.1.x86_64) scriptlet failed,
>> exit status 1
>
> I should added that I'm running 13.1m2.
>
>
> --
> Per Jessen, Zürich (18.0°C)
> http://www.dns24.ch/ - free DNS hosting, made in Switzerland.
>
> --
> To unsubscribe, e-mail: [email protected]
> To contact the owner, e-mail: [email protected]
>
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to