Loading run/network.sh +2 −2 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ configureDHCP() { TAP_PATH="/dev/tap$(</sys/class/net/${VM_NET_TAP}/ifindex)" # create dev file (there is no udev in container: need to be done manually) IFS=: read MAJOR MINOR < <(cat /sys/class/net/${VM_NET_TAP}/macvtap/${TAP_PATH##*/}/uevent) IFS=: read major minor < <(cat /sys/devices/virtual/net/tap2/tap*/dev) if [[ "x${MAJOR}" != "x" ]]; then echo "Info: Please make sure that the following docker setting is used: --device-cgroup-rule='c ${MAJOR}:* rwm'" Loading Loading
run/network.sh +2 −2 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ configureDHCP() { TAP_PATH="/dev/tap$(</sys/class/net/${VM_NET_TAP}/ifindex)" # create dev file (there is no udev in container: need to be done manually) IFS=: read MAJOR MINOR < <(cat /sys/class/net/${VM_NET_TAP}/macvtap/${TAP_PATH##*/}/uevent) IFS=: read major minor < <(cat /sys/devices/virtual/net/tap2/tap*/dev) if [[ "x${MAJOR}" != "x" ]]; then echo "Info: Please make sure that the following docker setting is used: --device-cgroup-rule='c ${MAJOR}:* rwm'" Loading