From: Andre Noll Date: Tue, 14 May 2024 21:38:27 +0000 (+0200) Subject: Expand the examples in the man page a bit. X-Git-Tag: v1.0.0~8 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=a5b6f1f511e80613ca81f472b927da21e94841a6;p=micoforia.git Expand the examples in the man page a bit. Explain how to change the root password in a freshly created container and re-order the other examples a bit. --- diff --git a/micoforia.suite.m4 b/micoforia.suite.m4 index 30dae25..287bb00 100644 --- a/micoforia.suite.m4 +++ b/micoforia.suite.m4 @@ -654,48 +654,49 @@ .EE .RE .IP \(bu 2 - Set the root password of the container + Start the container .I c1 + in the backround and set the root password .RS 6 .EX - .B chroot /var/lib/micoforia/c1 passwd + .B m7a start c1 + .B m7a enter c1 passwd .EE .RE .IP \(bu 2 - Start the container in foreground mode: + Run a shell in the container .RS 6 .EX - .B m7a start --foreground c1 + .B m7a enter c1 .EE .RE .IP \(bu 2 - Start the container in the backround and run a shell: + Ask the container to shut down, and wait for the shutdown procedure + to complete: .RS 6 .EX - .B m7a start c1 - .B m7a enter c1 + .B m7a stop --wait c1 .EE .RE .IP \(bu 2 - Attach to - .I tty1 - of the running container (type CTRL+a q to detach): + Start the container in foreground mode: .RS 6 .EX - .B m7a attach c1 + .B m7a start --foreground c1 .EE .RE .IP \(bu 2 - Ask the container to shut down, and wait for the shutdown procedure - to complete: + Attach to + .I tty1 + of the running container (type CTRL+a q to detach): .RS 6 .EX - .B m7a stop --wait c1 + .B m7a attach c1 .EE .RE .IP \(bu 2