Lxc: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
V (Diskussion | Beiträge) Die Seite wurde neu angelegt: „== LXC Notizen == === Host Allgemein === ==== Passwort im Container setzen ==== <code lang="bash"> chroot rootfs /bin/bash </code> === Host Debian === ==…“ |
V (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 3: | Zeile 3: | ||
==== Passwort im Container setzen ==== | ==== Passwort im Container setzen ==== | ||
<code lang="bash"> | <code lang="bash"> | ||
cd /var/lib/lxc/CONTAINER | |||
chroot rootfs /bin/bash | chroot rootfs /bin/bash | ||
passwd | |||
</code> | |||
</code> | ====Container Allgemein ==== | ||
<code lang="bash"> | |||
/etc/network/interfaces | |||
/etc/hostname löschen | |||
</code> | |||
In der Containercofig: | |||
<source lang="bash"> | |||
/var/lib/lxc/CONTAINER/conig | |||
</source> | |||
=== Host Debian === | === Host Debian === | ||
Version vom 9. März 2015, 07:55 Uhr
LXC Notizen
Host Allgemein
Passwort im Container setzen
cd /var/lib/lxc/CONTAINER
chroot rootfs /bin/bash
passwd
Container Allgemein
/etc/network/interfaces
/etc/hostname löschen
In der Containercofig:
/var/lib/lxc/CONTAINER/conig