Welcome to mirror list, hosted at ThFree Co, Russian Federation.

addmv_raw.sh « ext-links « others « test - github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 224f243815005e5329f9156a72c07674215ebc54 (plain)
1
2
3
4
5
6
#!/bin/bash
# $1 -- link name
# $2 -- pid of task in namespace
set -x
$ip link add link eth0 name $1 type macvlan || exit 1
$ip link set $1 netns $2