summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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