This PR adds an option -x to unshare the network by adding --net to the first unshare invocation.
[x] add option to try
[x] add to unit test
eric@ide0:~/try$ ./try ip --brief link
lo UNKNOWN 00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP>
ens18 UP ce:b8:f6:2a:67:af <BROADCAST,MULTICAST,UP,LOWER_UP>
eric@ide0:~/try$ ./try -x ip --brief link
lo DOWN 00:00:00:00:00:00 <LOOPBACK>
Note: I would use ping -c1 1.1 instead of curl 1.1 but #131
This PR adds an option
-x
to unshare the network by adding--net
to the first unshare invocation.Note: I would use
ping -c1 1.1
instead ofcurl 1.1
but #131Closes #127