On Mon, Apr 13, 2020 at 5:00 PM Wonsup Yoon <pus...@kaist.ac.kr> wrote:
> Currently, OSv needs root permission for tap networking.
> However, if we have a tap interface with proper permission,
> we can do tap networking without root permission.
>
> This adds --tap option to specify tap interface.
> It enables tap networking without root permission.
>
> Usage:
>
> On root:
>
> adduser user1 kvm # allow user 1 to use kvm
> tunctl -u user1 -t user1_tap0 # add tap interface for user1
>
> On user1 (without root/sudo):
>
> ./scripts/run.py -n --tap user1_tap0
>
> Signed-off-by: Wonsup Yoon <pus...@kaist.ac.kr>

Reviewed-by: Pekka Enberg <penb...@scylladb.com>

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/CAGUyND8d8gdD74E7UcywVXWCAxm9GNmivaKkkzwsuOB9eqKnQg%40mail.gmail.com.

Reply via email to