Giter VIP home page Giter VIP logo

Comments (5)

ganto avatar ganto commented on August 9, 2024 1

I guess that's what the local template is meant for. The following command worked for me after building a container image with distrobuilder build-lxc fedora.yaml:

# lxc-create -n f28 -t local -- --metadata meta.tar.xz --fstree rootfs.tar.xz 
Unpacking the rootfs

---
You just created a Fedora container (release=28, arch=x86_64)
# lxc-start -n f28

from distrobuilder.

rakotomandimby avatar rakotomandimby commented on August 9, 2024

This seemed to have created:

$ sudo lxc-create  -n a1 -t none -- --metadata meta.tar.xz --rootfs rootfs.tar.xz

The result is:

$ sudo lxc-ls -f
NAME STATE   AUTOSTART GROUPS IPV4 IPV6 UNPRIVILEGED 
a1   STOPPED 0         -      -    -    false    

But when starting:

$ sudo lxc-start -F -n a1
lxc-start: a1: conf.c: lxc_setup_dev_console: 1662 No such file or directory - Failed to set mode "0111" to "/dev/pts/2"
lxc-start: a1: conf.c: lxc_setup: 3412 Failed to setup console
lxc-start: a1: start.c: do_start: 1198 Failed to setup container "a1"
lxc-start: a1: sync.c: __sync_wait: 57 An error occurred in another process (expected sequence number 5)
lxc-start: a1: start.c: __lxc_start: 1866 Failed to spawn container "a1"
The container failed to start.
Additional information can be obtained by setting the --logfile and --logpriority options.

from distrobuilder.

brauner avatar brauner commented on August 9, 2024

@ganto, correct.

from distrobuilder.

marcosps avatar marcosps commented on August 9, 2024

@brauner so the plan is to kill the -t and --metadata once that distrobuilder will be finally being used in LXC, as the yaml files can describe the same configurations that currently reside in metadata.tar.xz?

from distrobuilder.

brauner avatar brauner commented on August 9, 2024

@marcosps, no that's not the plan. The options will stay for now.

from distrobuilder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.