]> git.llucax.com Git - software/pymin.git/blob - pymin/services/ip/templates/ip_add
Add a small utility to send pymin commands.
[software/pymin.git] / pymin / services / ip / templates / ip_add
1 %if peer is None:
2 ip addr add dev ${dev} ${addr}/${netmask} broadcast ${broadcast}
3 %else:
4 ip addr add dev ${dev} ${addr} peer ${peer}
5 %endif