Site Tools


chuleta_lxc

Creación

lxc-checkconfig

lxc-create --name softlibre -t debian
debootstrap is /usr/sbin/debootstrap
Checking cache download in /var/cache/lxc/debian/rootfs-stable-amd64 ... 
Copying rootfs to /var/lib/lxc/softlibre/rootfs...Generating locales (this might take a while)...
  es_ES.UTF-8... done
  es_ES.UTF-8... done
Generation complete.
update-rc.d: error: cannot find a LSB script for checkroot.sh
update-rc.d: error: cannot find a LSB script for umountfs
update-rc.d: error: cannot find a LSB script for hwclockfirst.sh
Creating SSH2 RSA key; this may take some time ...
2048 SHA256:knQ7RvHhEPFaCqpaRkxSuyXqOo+ZOiranvaTYO4wIME root@matojo (RSA)
Creating SSH2 ECDSA key; this may take some time ...
256 SHA256:g4Wywoyrdu/vZYxPeD5hRpf2B+VsH4+RHOAKPnwW0bc root@matojo (ECDSA)
Creating SSH2 ED25519 key; this may take some time ...
256 SHA256:0pEtoco7GHtupKY32+iJqE2OyfsSHSWhwIi7uj8mbok root@matojo (ED25519)
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.

Current default time zone: 'Etc/UTC'
Local time is now:      Thu Mar 15 13:26:21 UTC 2018.
Universal Time is now:  Thu Mar 15 13:26:21 UTC 2018.


lxc-start --name softlibre --logfile /var/log/lxc_softlibre.log --logpriority DEBUG

lxc-attach --name softlibre

lxc-destroy --name softlibre

du -sh /var/cache/lxc/debian/rootfs-stable-amd64/
235M    /var/cache/lxc/debian/rootfs-stable-amd64/

chuleta_lxc.txt · Last modified: by etfiat