seungsoo-lee / DELTA

PROJECT DELTA: SDN SECURITY EVALUATION FRAMEWORK
85 stars 36 forks source link

No container config specified when running lxc-start #6

Open bestrocker221 opened 4 years ago

bestrocker221 commented 4 years ago

Hi, following the steps in installing DELTA, there is no mention on what config file to use to launch the lxc containers.

when i run sudo lxc-start -n container-cp -d all I get is

lxc-start: container-cp: tools/lxc_start.c: main: 290 No container config specified
bestrocker221 commented 4 years ago
lxc-create: container-cp: utils.c: get_template_path: 918 No such file or directory - bad template: ubuntu
lxc-create: container-cp: lxccontainer.c: do_lxcapi_create: 1786 Unknown template "ubuntu"
lxc-create: container-cp: tools/lxc_create.c: main: 327 Failed to create container container-cp

I cant find the ubuntu template

Resethel commented 3 years ago

Hi, following the steps in installing DELTA, there is no mention on what config file to use to launch the lxc containers.

when i run sudo lxc-start -n container-cp -d all I get is

lxc-start: container-cp: tools/lxc_start.c: main: 290 No container config specified

I got exactly the same issue as @bestrocker221 running DELTA on Ubuntu Server 18.04.5 LTS. Looks like it mostly come from the fact that lxc 2.x.x distributions are not supported anymore, and it was the last one that used the former system of templates. I tend to think that its breaking the tool for any ubuntu version above the la 16.x.x LTS version