summaryrefslogtreecommitdiff
path: root/public_hurd_boxen
diff options
context:
space:
mode:
Diffstat (limited to 'public_hurd_boxen')
-rw-r--r--public_hurd_boxen/domu_console.mdwn2
1 files changed, 1 insertions, 1 deletions
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