* [spp] [PATCH] docs: update qemu-ifup
@ 2018-09-21 4:17 x-fn-spp
2018-09-25 8:35 ` Yasufumi Ogawa
0 siblings, 1 reply; 2+ messages in thread
From: x-fn-spp @ 2018-09-21 4:17 UTC (permalink / raw)
To: ferruh.yigit, ogawa.yasufumi; +Cc: spp
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.
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"
--
2.18.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [spp] [PATCH] docs: update qemu-ifup
2018-09-21 4:17 [spp] [PATCH] docs: update qemu-ifup x-fn-spp
@ 2018-09-25 8:35 ` Yasufumi Ogawa
0 siblings, 0 replies; 2+ messages in thread
From: Yasufumi Ogawa @ 2018-09-25 8:35 UTC (permalink / raw)
To: x-fn-spp; +Cc: ferruh.yigit, spp
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-25 8:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-21 4:17 [spp] [PATCH] docs: update qemu-ifup x-fn-spp
2018-09-25 8:35 ` Yasufumi Ogawa
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).