View previous topic :: View next topic |
Author |
Message |
bryn1u n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Jan 2013 Posts: 4
|
Posted: Fri Jul 18, 2014 4:58 am Post subject: lxc-gentoo - script doesn't work ! |
|
|
Hey,
I want to use ./lxc-gentoo create from /usr/share/tempates/lxc-gentoo, but always i getting this output:
Code: |
ns321124 templates # ./lxc-gentoo create -n Oksymoron
### set_default_arch: default arch/variant autodetect...
=> Got: arch=amd64 variant=amd64
Attempting to obtain an exclusive lock (timeout: 60 sec) named "cache-amd64-amd64"...
=> done.
=> Executing "do_all"
##### container_setup(): starting container setup
### container_precheck(): doing some pre-start checks ...
#### container_rootfs(): copying rootfs /rootfs from cache /var/cache/lxc/gentoo/rootfs-amd64-amd64 ...
tar: /rootfs: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
[the last exit code leading to this death was: 2 ]
|
What's wrong ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gza0013 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Jan 2015 Posts: 2
|
Posted: Mon Jan 19, 2015 8:44 pm Post subject: Re: lxc-gentoo - script doesn't work ! |
|
|
Hi,
lxc templates are shell script but are not intended to be launched "directly"
You should use:
Code: |
lxc-create -n Oksymoron -t gentoo
|
Regards, |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|