Soft Patch Panel
 help / color / mirror / Atom feed
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
To: x-fn-spp@sl.ntt-tx.co.jp
Cc: ferruh.yigit@intel.com, spp@dpdk.org
Subject: Re: [spp] [PATCH] docs: update qemu-ifup
Date: Tue, 25 Sep 2018 17:35:54 +0900	[thread overview]
Message-ID: <89e07979-dd7f-e999-f862-acb6c71ac706@lab.ntt.co.jp> (raw)
In-Reply-To: <201809210417.w8L4H25D018075@imss03.silk.ntt-tx.co.jp>

> From: Hideyuki Yamashita <yamashita.hideyuki@po.ntt-tx.co.jp>
> 
> To fix errors in `qemu-ifup`, remove the first erroneous line and
> correct the paths of tunctl and brctl for Ubuntu's apt.
> 
Thanks!

Acked-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
> Signed-off-by: Hideyuki Yamashita <yamashita.hideyuki@po.ntt-tx.co.jp>
> Signed-off-by: Naoki Takada <takada.naoki@lab.ntt.co.jp>
> ---
>   docs/samples/qemu-ifup | 5 ++---
>   1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/docs/samples/qemu-ifup b/docs/samples/qemu-ifup
> index 4538b65..8fbf700 100755
> --- a/docs/samples/qemu-ifup
> +++ b/docs/samples/qemu-ifup
> @@ -1,14 +1,13 @@
> -vi /etc/qemu-ifup
>   #!/bin/sh
>   set -x
>   
>   switch=virbr0
>   
>   if [ -n "$1" ];then
> -        /usr/bin/sudo /usr/sbin/tunctl -u `whoami` -t $1
> +        /usr/bin/sudo /usr/bin/tunctl -u `whoami` -t $1
>           /usr/bin/sudo /sbin/ip link set $1 up
>           sleep 0.5s
> -        /usr/bin/sudo /usr/sbin/brctl addif $switch $1
> +        /usr/bin/sudo /sbin/brctl addif $switch $1
>           exit 0
>   else
>           echo "Error: no interface specified"
> 


-- 
Yasufumi Ogawa
NTT Network Service Systems Labs

      reply	other threads:[~2018-09-25  8:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-21  4:17 x-fn-spp
2018-09-25  8:35 ` Yasufumi Ogawa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=89e07979-dd7f-e999-f862-acb6c71ac706@lab.ntt.co.jp \
    --to=ogawa.yasufumi@lab.ntt.co.jp \
    --cc=ferruh.yigit@intel.com \
    --cc=spp@dpdk.org \
    --cc=x-fn-spp@sl.ntt-tx.co.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).