Hi,
I would like to install LXC container by virt-install.
From man:
virt-install \
--connect lxc:/// \
--name container \
--memory 128 \
--filesystem /home/LXC,/ \
--init /bin/sh
But my err is:
root@blade1:/home/lxcuser/LXC# virt-install --connect lxc:/// --name test_LXC --memory
128 --filesystem \ /home/lxcuser/LXC,/ --init /bin/sh
WARNING No operating system detected, VM performance may suffer. Specify an OS with
--os-variant for optimal results.
Starting install...
ERROR internal error: guest failed to start: Failure in libvirt_lxc startup: Failed to
create /home/lxcuser/LXC/.oldroot: Invalid argument
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect lxc:/// start test_LXC
otherwise, please restart your installation.
What is wrong with this?