Skip to content

Commit

Permalink
Add ENI hotplug documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajacoutot committed Mar 23, 2019
1 parent 256bda7 commit fd58a5a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,22 @@ usage: obsd-img-builder.sh
* arm64 support
* MP support

## ENI hotplug

```
# cat <<-'EOF' >/etc/hotplug/attach
#!/bin/sh
case $1 in
3) echo "!/sbin/dhclient -i routers $2" >/etc/hostname.$2
/bin/sh /etc/netstart $i
;;
esac
EOF
# chmod 0555 /etc/hotplug/attach
# rcctl enable hotplugd && rcctl start hotplugd
```

## Building sample output

```
Expand Down

0 comments on commit fd58a5a

Please sign in to comment.