test: add network template tests
This commit is contained in:
5
tests/network/templates/kickstart.pkrtpl
Normal file
5
tests/network/templates/kickstart.pkrtpl
Normal file
@@ -0,0 +1,5 @@
|
||||
%{~ if ip != null ~}
|
||||
network --device=${device} --bootproto=static --ip=${ip} --netmask=${cidrnetmask("${ip}/${netmask}")} --gateway=${gateway} --nameserver=${join(",", dns)}
|
||||
%{~ else ~}
|
||||
network --device=${device} --bootproto=dhcp
|
||||
%{~ endif ~}
|
||||
Reference in New Issue
Block a user