[libvirt] [libvirt-sandbox][PATCH] Docs: update EXAMPLES section of virt-sandbox man page

2013-07-18 Thread Alex Jia
Signed-off-by: Alex Jia a...@redhat.com
---
 bin/virt-sandbox.c |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/bin/virt-sandbox.c b/bin/virt-sandbox.c
index 883e6c0..b51465d 100644
--- a/bin/virt-sandbox.c
+++ b/bin/virt-sandbox.c
@@ -438,7 +438,9 @@ Run an interactive shell under LXC, replace $HOME with the 
contents
 of $HOME/scratch
 
   # mkdir $HOME/scratch
-  # virt-sandbox -c lxc:/// --host-bind $HOME=$HOME/scratch /bin/sh
+  # echo hello  $HOME/scratch/foo
+  # echo sandbox  $HOME/scratch/bar
+  # virt-sandbox -c lxc:/// -m host-bind:$HOME=$HOME/scratch -i 
$HOME/scratch/foo -i $HOME/scratch/bar /bin/sh
 
 Convert an OGG file to WAV inside QEMU
 
-- 
1.7.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] [libvirt-sandbox][PATCH] Docs: update EXAMPLES section of virt-sandbox man page

2013-07-18 Thread Daniel P. Berrange
On Thu, Jul 18, 2013 at 04:22:36PM +0800, Alex Jia wrote:
 Signed-off-by: Alex Jia a...@redhat.com
 ---
  bin/virt-sandbox.c |4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)
 
 diff --git a/bin/virt-sandbox.c b/bin/virt-sandbox.c
 index 883e6c0..b51465d 100644
 --- a/bin/virt-sandbox.c
 +++ b/bin/virt-sandbox.c
 @@ -438,7 +438,9 @@ Run an interactive shell under LXC, replace $HOME with 
 the contents
  of $HOME/scratch
  
# mkdir $HOME/scratch
 -  # virt-sandbox -c lxc:/// --host-bind $HOME=$HOME/scratch /bin/sh
 +  # echo hello  $HOME/scratch/foo
 +  # echo sandbox  $HOME/scratch/bar
 +  # virt-sandbox -c lxc:/// -m host-bind:$HOME=$HOME/scratch -i 
 $HOME/scratch/foo -i $HOME/scratch/bar /bin/sh
  
  Convert an OGG file to WAV inside QEMU

ACK


Daniel
-- 
|: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o- http://virt-manager.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] [libvirt-sandbox][PATCH] Docs: update EXAMPLES section of virt-sandbox man page

2013-07-18 Thread Alex Jia
Thanks and pushed now.

-- 
Regards, 
Alex


- Original Message -
From: Daniel P. Berrange berra...@redhat.com
To: Alex Jia a...@redhat.com
Cc: libvir-list@redhat.com
Sent: Thursday, July 18, 2013 5:24:14 PM
Subject: Re: [libvirt] [libvirt-sandbox][PATCH] Docs: update EXAMPLES section 
of virt-sandbox man page

On Thu, Jul 18, 2013 at 04:22:36PM +0800, Alex Jia wrote:
 Signed-off-by: Alex Jia a...@redhat.com
 ---
  bin/virt-sandbox.c |4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)
 
 diff --git a/bin/virt-sandbox.c b/bin/virt-sandbox.c
 index 883e6c0..b51465d 100644
 --- a/bin/virt-sandbox.c
 +++ b/bin/virt-sandbox.c
 @@ -438,7 +438,9 @@ Run an interactive shell under LXC, replace $HOME with 
 the contents
  of $HOME/scratch
  
# mkdir $HOME/scratch
 -  # virt-sandbox -c lxc:/// --host-bind $HOME=$HOME/scratch /bin/sh
 +  # echo hello  $HOME/scratch/foo
 +  # echo sandbox  $HOME/scratch/bar
 +  # virt-sandbox -c lxc:/// -m host-bind:$HOME=$HOME/scratch -i 
 $HOME/scratch/foo -i $HOME/scratch/bar /bin/sh
  
  Convert an OGG file to WAV inside QEMU

ACK


Daniel
-- 
|: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o- http://virt-manager.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list