From 9fd7165a8f586fef8034f50adfc5fa09622f5976 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 7 Jul 2009 23:01:17 +0200 Subject: public_hurd_boxen/domu_console: Start the domU if it isn't running already. --- public_hurd_boxen/domu_console.mdwn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public_hurd_boxen/domu_console.mdwn b/public_hurd_boxen/domu_console.mdwn index 56f6ac9c..2f131e5a 100644 --- a/public_hurd_boxen/domu_console.mdwn +++ b/public_hurd_boxen/domu_console.mdwn @@ -11,9 +11,10 @@ License|/fdl]]."]]"""]] [[!meta title="domU console"]] 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: +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] xm console [domU] + $ sudo screen -DRRS xen-console-[domU] sh -c 'xm console [domU] || xm create -c [domU]' 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