On Mon, Apr 13, 2020 at 5:00 PM Wonsup Yoon <[email protected]> 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 <[email protected]>

Reviewed-by: Pekka Enberg <[email protected]>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/CAGUyND8d8gdD74E7UcywVXWCAxm9GNmivaKkkzwsuOB9eqKnQg%40mail.gmail.com.

Reply via email to