diff options
author | Helmut Grohne <helmut@subdivi.de> | 2023-01-13 09:28:24 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2023-01-13 09:28:24 +0100 |
commit | 51c511409116cea70d61db5c6baf1325b31329c7 (patch) | |
tree | 2c21f578989eeaf5746652036e9f6b58a891a8bb /bin/debvm-run | |
parent | 8d13bcead097b2052ad300e594d1bfb9183d0164 (diff) | |
parent | 59c77e0c3422287651c6e270917bcfa04a6c17a6 (diff) | |
download | debvm-51c511409116cea70d61db5c6baf1325b31329c7.tar.gz |
Merge branch main into helmut
Resolve conflicts in debvm-create arising from adding --skip and moving
the functionality to be skipped to share/customize-*.sh.
Diffstat (limited to 'bin/debvm-run')
-rwxr-xr-x | bin/debvm-run | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/bin/debvm-run b/bin/debvm-run index 4f7ff44..839653c 100755 --- a/bin/debvm-run +++ b/bin/debvm-run @@ -58,6 +58,23 @@ F<rootfs.ext4>, resulting in an ephemeral run. debvm-run -s 8022 -i rootfs.ext4 -- -snapshot +=head1 FAQ + +=over 8 + +=item The debvm-run console renders wrong. + +Get C<echo $LINES $COLUMNS> from an other terminal and run C<stty rows $LINES cols $COLUMNS> in the console or use ssh. +Another option is to run C<eval $(resize)>, which is available from the B<xterm> package. +Also set C<$TERM> to the outside value. + +=item How can I kill debvm-run? + +The wrapped B<qemu> can be terminated by pressing Ctrl-a x. +Refer to the B<qemu> manual page for more escape sequences. + +=back + =head1 LIMITATIONS Due to the way kernel and bootloader are being extracted before running B<qemu>, one cannot upgrade a kernel and then just reboot. @@ -132,7 +149,7 @@ while getopts :gi:s:-: OPTCHAR; do usage_error "missing argument for -$OPTARG" ;; '?') - usage_erro "unrecognized option -$OPTARG" + usage_error "unrecognized option -$OPTARG" ;; *) die "internal error while parsing command options, please report a bug" |