.EE
.RE
.IP \(bu 2
- Download a Debian10 root file system to
- .IR /var/lib/micoforia/debian10 ,
- set the root password and let micoforia set the hostname
+ Download a base Debian12 installation with all packages of priority
+ required and important, including apt:
.RS 6
.EX
- .B debootstrap --variant=minbase buster /var/lib/micoforia/debian10 http://deb.debian.org/debian/
- .B chroot /var/lib/micoforia/debian10 passwd
- .B rm -f /var/lib/micoforia/debian10/etc/hostname
+ .B debootstrap bookworm /var/lib/micoforia/debian12 http://deb.debian.org/debian/
.EE
.RE
.IP \(bu 2
- Download a minimal Ubuntu-18.04 root file system to
- .IR /var/lib/micoforia/c1 ,
- set the root password and configure the
- .I eth0
- interface, using a static IP address:
+ The same for Ubuntu-22.04:
+
+ .RS 6
+ .EX
+ .B debootstrap jammy /var/lib/micoforia/ubuntu-22.04 http://de.archive.ubuntu.com/ubuntu
+ .EE
+ .RE
+ .IP \(bu 2
+ Set the root password of the container
+ .I c1
.RS 6
.EX
- .B debootstrap --include openssh-server --include ifupdown bionic /var/lib/micoforia/c1 http://de.archive.ubuntu.com/ubuntu
.B chroot /var/lib/micoforia/c1 passwd
- .B printf 'auto eth0\(rsniface eth0 inet static\(rsnaddress 192.168.137.2/24\(rsn' \
- >> /var/lib/micoforia/c1/etc/network/interfaces
- .B echo 'PermitRootLogin yes' >> /var/lib/micoforia/c1/etc/ssh/sshd_config
.EE
.RE
.IP \(bu 2
.RS 6
.EX
- .B micoforia --container c1 --start --foreground
+ .B m7a start --foreground c1
+ .EE
+ .RE
+ .IP \(bu 2
+ Start the container in the backround and run a shell:
+
+ .RS 6
+ .EX
+ .B m7a start c1
+ .B m7a enter c1
.EE
.RE
.IP \(bu 2
Attach to
.I tty1
- of the running container:
+ of the running container (type CTRL+a q to detach):
.RS 6
.EX