X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=micoforia.suite.m4;h=30dae2571d972a57224030d89dfd3ee62190abcc;hb=261c2e6a9b310dbd0607572482de95b56db3540d;hp=2f91fc5c4f4ec6667182eaa6071fa05f0e9345bf;hpb=b38165e385fd9f1bb66d020d48cb2d09348ba657;p=micoforia.git diff --git a/micoforia.suite.m4 b/micoforia.suite.m4 index 2f91fc5..30dae25 100644 --- a/micoforia.suite.m4 +++ b/micoforia.suite.m4 @@ -637,31 +637,29 @@ .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 @@ -669,13 +667,22 @@ .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