]> git.llucax.com Git - software/pymin.git/blob - pymin/services/ip/templates/ip_add
Give a nice error if a VPN key can't be readed (refs #22).
[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