Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Paste
P333
Masterwork From Distant Lands
Active
Public
Actions
Authored by
thj
on Nov 4 2019, 10:27 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
#!/bin/sh
ifname=`ifconfig epair create`
epair=`echo ${ifname%a}`
jail -c name=alcatraz persist vnet vnet.interface=${epair}b
ifconfig ${epair}a name foo
jexec alcatraz ifconfig ${epair}b name bar
jail -r alcatraz
ifconfig foo destroy
Event Timeline
thj
edited the content of this paste.
(Show Details)
Nov 4 2019, 10:27 PM
2019-11-04 22:27:43 (UTC+0)
thj
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
Log In to Comment