summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2009-07-07 23:01:17 +0200
committerThomas Schwinge <tschwinge@gnu.org>2009-07-07 23:01:17 +0200
commit9fd7165a8f586fef8034f50adfc5fa09622f5976 (patch)
treee7320bfbb299a852e50e039f837b49828e9d046a
parent7f9e0764e40a5987ba1172a2f26fce17ab81279d (diff)
public_hurd_boxen/domu_console: Start the domU if it isn't running already.
-rw-r--r--public_hurd_boxen/domu_console.mdwn5
1 files 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