From f55e516c0b9ca0ea657467c2843bde0c0d302b64 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 3 Oct 2009 12:17:39 +0200 Subject: public_hurd_boxen/domu_console: Simplify console instructions. --- public_hurd_boxen/domu_console.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_hurd_boxen/domu_console.mdwn b/public_hurd_boxen/domu_console.mdwn index 02395e11..d766fe06 100644 --- a/public_hurd_boxen/domu_console.mdwn +++ b/public_hurd_boxen/domu_console.mdwn @@ -14,7 +14,7 @@ To avoid any complications with people trying to use the same console at the same time, please use this command for attaching to a domU's console (this command line will also start the domU in case that it isn't running already): - $ sudo screen -DRRS xen-console-[domU] sh -c 'xm console [domU] || xm create -c [domU]' + $ host=[domU] && sudo screen -DRRS console-$host sh -c "xm console $host || xm create -c $host" Otherwise, if one attaches to the same console twice, the second instance will in fact forward input to the domU (possibly infering with what the person is -- cgit v1.2.3