[libvirt-users] virt-install --connect lxc:///

ales drtik aldrtik at post.cz
Wed Mar 28 14:16:50 UTC 2018


After reboot of the host i have different error message:

root at blade1:~#  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: cannot find init path '/bin/sh' relative to container root: No such file or directory

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.
root at blade1:~# ls -al /home/lxcuser/LXC
total 24
drwxr-xr-x  6 root    root    4096 Mar 28 16:09 .
drwxr-xr-x+ 7 lxcuser lxcuser 4096 Mar 28 13:20 ..
drwxr-xr-x  2 root    root    4096 Mar 28 16:09 dev
drwxr-xr-x  2 root    root    4096 Mar 28 16:09 .oldroot
drwxr-xr-x  2 root    root    4096 Mar 28 16:09 proc
drwxr-xr-x  2 root    root    4096 Mar 28 16:09 sys





More information about the libvirt-users mailing list