Description
This is what I get from: lxc-create -n c10 -t /path/to/lxc-template
I'm also unable to login with the root password from /var/lib/lxc/c10/tmp_root_pass
Copy /var/cache/lxc/centos/x86_64/7/rootfs to /var/lib/lxc/c10/rootfs ...
Copying rootfs to /var/lib/lxc/c10/rootfs ...
sed: can't read /var/lib/lxc/c10/rootfs/etc/init/tty.conf: No such file or directory
Storing root password in '/var/lib/lxc/c10/tmp_root_pass'
chpasswd: cannot open /etc/passwd
Expiring password for user root.
passwd: Libuser error at line: 413 - Error replacing `/etc/passwd': Permission denied.
passwd: Error
sed: can't read /var/lib/lxc/c10/rootfs/etc/rc.sysinit: No such file or directory
sed: can't read /var/lib/lxc/c10/rootfs/etc/rc.d/rc.sysinit: No such file or directory
Container rootfs and config have been created.
Edit the config file to check/enable networking setup.
The temporary root password is stored in:
'/var/lib/lxc/c10/tmp_root_pass'
The root password is set up as expired and will require it to be changed
at first login, which you should do as soon as possible. If you lose the
root password or wish to change it without starting the container, you
can change it from the host by running the following command (which will
also reset the expired flag):
chroot /var/lib/lxc/c10/rootfs passwd
Activity